WebCore:
[WebKit-https.git] / LayoutTests / media / video-loopcount.html
1 <video src=content/test.mp4 playcount=3 loopend=0.2s end=0.2s></video>
2 <p>Test that playcount attribute causes playback to end after right number of repeats.</p>
3 <script src=video-test.js></script>
4 <script>
5 test("video.playCount == 3");
6 test("video.currentLoop == 0");
7 waitForEventTestAndEnd('ended', "video.currentLoop == 2");
8 video.play();
9 </script>