blob: 89569afbb8c901c7592a174284d0d6095e72026c [file] [log] [blame]
Test that seeking video with 'loop' past it's end rewinds to the beginning and continues playback.
RUN(video.src = 'content/test.mp4')
EVENT(load)
EXPECTED (video.paused == 'true') OK
RUN(video.play())
EXPECTED (video.paused == 'false') OK
EXPECTED (video.paused == 'false') OK
EXPECTED (media.currentTime > '0') OK
RUN(video.currentTime = 500)
EXPECTED (video.paused == 'false') OK
EXPECTED (media.currentTime > '0') OK
END OF TEST