blob: c7e27d66779cc4085ce24162c6bd21eadf22f52a [file] [log] [blame]
<video controls></video>
<p>Test that play() from EMPTY network state triggers load() and async play event.</p>
<script src=video-test.js></script>
<script>
video.src = "content/test.mp4";
test("video.networkState == HTMLMediaElement.EMPTY");
waitForEventAndTest('begin', "video.paused");
waitForEventTestAndEnd('play', "!video.paused");
run("video.play()");
consoleWrite("SCRIPT DONE");
</script>