ef99976bb989295adc3cfe9de4bcb5209228ecda
[WebKit-https.git] / LayoutTests / media / video-loopend.html
1 <video src=content/test.mp4 loopcount=2 autoplay></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 </script>