blob: ae3a3396b4e9e82d93d56c803591120330e8375b [file] [log] [blame]
<video controls></video>
<script src=video-test.js></script>
<script>
testExpected("video.currentTime", 0)
waitForEvent('load', function() { testExpected("video.currentTime", 0); } );
video.addEventListener('load', function() { video.play(); setTimeout(testCurrentTime, 500) });
waitForEvent('play');
function testCurrentTime()
{
testExpected("video.currentTime", 0, '>')
endTest();
}
video.src = "content/test.mp4";
</script>