2aff30b8e85a8ef0f38edef53d1ffcbee545438a
[WebKit-https.git] / LayoutTests / media / video-loopstart.html
1 <video src=content/test.mp4 loopcount=2 loopstart=1s autoplay></video>
2 <script src=video-test.js></script>
3 <script>
4 test("video.loopStart==1.0");
5 waitForEvent('play', function () { video.currentTime = 500; });
6 waitForEventTestAndEnd('timeupdate', "video.currentTime.toFixed(1) == 1.0 && video.currentLoop==1");
7 </script>