3 <script src=media-file.js></script>
6 testRunner.waitUntilDone();
12 setSrcByTagName("video", findMediaFile("video", "content/test"));
13 video = document.getElementsByTagName('video')[0];
16 video.addEventListener("canplaythrough", canPlayThrough);
19 function canPlayThrough()
21 // Ensure that the frame is always the same in pixel result.
22 video.addEventListener("seeked", finish);
24 video.currentTime = 0;
29 if (window.testRunner)
30 testRunner.notifyDone();
35 <body onload="start()">
36 <p>The controls should not depend on preload value.</p>
37 <video preload=none controls ></video>