<video src=content/test.mp4 playcount=3 loopend=0.2s end=0.2s controls></video> | |
<p>Test that playcount attribute causes playback to end after right number of repeats.</p> | |
<script src=video-test.js></script> | |
<script> | |
test("video.playCount == 3"); | |
test("video.currentLoop == 0"); | |
waitForEventTestAndEnd('ended', "video.currentLoop == 2"); | |
video.play(); | |
</script> |