blob: 2d21195d13f62c480e8f7a8f53b28da5b7aca812 [file] [log] [blame]
<video src=content/test.mp4 loopcount=2 autoplay></video>
<script src=video-test.js></script>
<script>
video.loopStart = 1.0;
test("video.loopStart==1.0");
test("video.getAttribute('loopstart') == '1s'");
waitForEvent('play', function () { video.currentTime = 500; });
waitForEventTestAndEnd('timeupdate', "video.currentTime.toFixed(1) && video.currentLoop==1");
</script>