// Test whether video can be played correctly in a video document
add_task(async function testStandAloneVideoDocument() {
for (let i=0; i<gSmallTests.length; ++i) {
const test = gSmallTests[i];
// We can't play WAV files in stand alone documents, so just don't
// run the test on non-video content types.
if (getMajorMimeType(test.type) != "video" ||
!document.createElement("video").canPlayType(test.type)) {
continue;
}
let f = document.createElement("iframe");
f.src = test.name;
document.body.appendChild(f);
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.