blob: b40e0d9472e087b3100113aa14db6952709e6691 [file] [log] [blame]
<video controls></video>
<div>Test that setting src attribute triggers load</div>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
var mediaFile = findMediaFile("video", "content/test");
video.setAttribute('src', mediaFile);
waitForEvent('loadstart', function () {
testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile));
endTest();
} );
video.setAttribute('src', mediaFile);
</script>