WebCore:
[WebKit-https.git] / LayoutTests / media / video-seek-past-end-playing.html
1 <video playcount=2></video>
2 <p>Test that seeking video with remaining loops past it's end rewinds to the beginning and continues playback.</p>
3 <script src=video-test.js></script>
4 <script>
5 waitForEvent('load', function () { 
6     waitForEvent('timeupdate', function () {
7         failTestIn(1000);
8         if (video.currentLoop == 1) {
9             test("video.currentLoop == 1");
10             endTest();
11         }
12     });
13     video.currentTime = 500;
14 });
15 video.src = "content/test.mp4";
16 run("video.play()");
17 </script>