blob: 976164ee21e593e25759874e9bc4790e0cc8b5c8 [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 = video.duration - 0.1;
video.playbackRate = 0.5;
video.play();
});
}
</script>
</head>
<body onload="start()">
<video />
</body>
</html>