48820c1fedff62e2ecf9282fd1adca9d149126d8
[WebKit-https.git] / LayoutTests / media / video-loopcount.html
1 <video src=content/test.mp4 loopcount=2 loopend=0.2s end=0.2s autoplay></video>
2 <script src=video-test.js></script>
3 <script>
4 test("video.loopCount == 2");
5 test("video.currentLoop == 0");
6 waitForEventTestAndEnd('ended', "video.currentLoop == 1");
7 </script>