<video src=content/test.mp4 controls></video> | |
<script src=video-test.js></script> | |
<script> | |
waitForEvent('load', | |
function () { | |
video.currentTime = video.duration - 0.2; | |
video.play(); | |
waitForEvent('timeupdate', | |
function () { | |
setTimeout(function () { test("false") }, 800); | |
}); | |
waitForEventAndEnd('ended'); | |
}); | |
video.src = "content/test.mp4"; | |
</script> |