blob: 23e58f3959721e3ecd3864e91149e6f47689084e [file] [log] [blame]
<video controls></video>
<p>Test that when start DOM attribute is set, playback starts from that time.</p>
<script src=video-test.js></script>
<script>
video.start = 1.0;
test("video.start == 1.0");
test("video.getAttribute('start') == '1s'");
waitForEventTestAndEnd('canplaythrough', "video.currentTime == 1.0");
video.src = "content/test.mp4";
run("video.load()");
</script>