3 <script src=media-file.js></script>
8 testRunner.waitUntilDone();
12 video.removeEventListener("seeked", finish);
14 if (window.testRunner)
15 testRunner.notifyDone();
20 video.removeEventListener("playing", playing);
22 // Ensure that the frame is always the same in pixel result.
23 video.addEventListener("seeked", finish);
25 video.currentTime = 0;
28 function canplaythrough()
30 video.removeEventListener("canplaythrough", canplaythrough);
32 video.src = findMediaFile("video", "content/test");
33 video.addEventListener("playing", playing);
39 video = document.getElementsByTagName('video')[0];
40 video.addEventListener("canplaythrough", canplaythrough);
42 video.src = findMediaFile("video", "content/counting");
46 <body onload="test()">
47 <p>Making sure the controller looks ok after a second load().</p>
48 <video controls></video>