1 <video controls></video>
2 <p>Test that seeking attribute is true immediately after a seek,
3 goes back to false when seeking completes, and that a 'seeked' event
6 <script src=media-file.js></script>
7 <script src=video-test.js></script>
17 testExpected("video.seeking", false);
18 testExpected("video.currentTime", seekedCount * 0.5);
19 run("video.currentTime = " + (seekedCount + 1) * 0.5);
20 testExpected("video.seeking", true);
28 function canplaythrough()
30 run("video.currentTime = 0.5");
34 waitForEvent('waiting' );
35 waitForEvent('seeked', seeked );
36 waitForEvent('canplaythrough', canplaythrough);
38 video.src = findMediaFile("video", "content/test");