blob: 0abdf7e0c131795ffcd1740940569866fcdd82c9 [file] [log] [blame]
<video controls></video>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
testExpected("video.currentSrc", "");
var mediaFile = findMediaFile("video", "content/test");
video.src = mediaFile;
testExpected("video.currentSrc", "");
waitForEvent('canplaythrough', function () {
testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile));
endTest();
} );
video.load();
</script>