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);
20 if (seekedCount
== 3) {
25 run("video.currentTime = " + (seekedCount
+ 1) * 0.5);
26 testExpected("video.seeking", true);
32 function canplaythrough()
37 run("video.currentTime = 0.5");
41 waitForEvent('waiting' );
42 waitForEvent('seeked', seeked
);
43 waitForEventOnce('canplaythrough', canplaythrough
);
45 video
.src
= findMediaFile("video", "content/test");