1 <video controls></video>
2 <div>Test that setting src attribute triggers load</div>
3 <script src=media-file.js></script>
4 <script src=video-test.js></script>
6 var mediaFile = findMediaFile("video", "content/test");
7 video.setAttribute('src', mediaFile);
9 waitForEvent('loadstart', function () {
10 testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(mediaFile));
14 video.setAttribute('src', mediaFile);