3 <script src=media-file.js
></script>
4 <script src=video-test.js
></script>
9 video
= mediaElement
= document
.getElementsByTagName('video')[0];
10 var mediaFile
= findMediaFile("video", "content/test");
12 waitForEvent("loadstart", function () {
13 testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile
));
14 testExpected("stripExtension(relativeURL(video.src))", stripExtension(mediaFile
));
15 testExpected("stripExtension(video.getAttribute('src'))", stripExtension(mediaFile
));
19 video
.src
= mediaFile
;
24 <body onload=
"setTimeout(test, 100)">
25 <video controls
></video>