blob: 37074ecabc98fc735a2535137f58d91f26223dcf [file] [log] [blame]
<html>
<head>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
function start() {
findMediaElement();
waitForEventAndEnd('ended');
video.src = findMediaFile("video", "content/test");
waitForEventOnce('canplaythrough',
function ()
{
video.currentTime = 0.5;
video.playbackRate = -1;
});
}
waitForEventOnce('seeked', () => { video.play(); });
waitForEventOnce('playing', () => { failTestIn(5000); });
</script>
</head>
<body onload="start()">
<video loop />
</body>
</html>