WebCore:
[WebKit-https.git] / LayoutTests / media / video-loopend.html
1 <video src=content/test.mp4 loopcount=2></video>
2 <script src=video-test.js></script>
3 <script>
4 video.loopEnd = 0.5;
5 test("video.loopEnd==0.5");
6 setTimeout(function () { test("video.currentTime<=0.5"); }, 2000);
7 waitForEventTestAndEnd('timeupdate', "video.currentTime.toFixed(1) == 0 && video.currentLoop==1");
8 video.play();
9 </script>