blob: 8221cca8d3046ad1e594f3714e648a6da14ca050 [file] [log] [blame]
<video controls></video>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
waitForEvent('canplaythrough',
function () {
video.currentTime = 1.5;
testExpected("video.currentTime.toFixed(1)", 1.5);
video.play();
video.currentTime = 3.1;
testExpected("video.currentTime.toFixed(1)", 3.1);
endTest();
});
video.src = findMediaFile("video", "content/test");
</script>