blob: db8b568ef797d1a7519e217bbbac9a5f80c429d3 [file] [log] [blame]
<video controls></video>
<p>Test that play event does not fire when "src" set with no autoplay attribute.</p>
<script src=video-test.js></script>
<script>
testExpected("video.paused", true);
waitForEvent('play', function () {
logResult(false, "PLAY fired");
endTest();
} );
function testPaused ()
{
testExpected("video.paused", true);
endTest();
}
waitForEvent('load', function () { setTimeout(testPaused, 500);} );
video.src = "content/test.mp4";
</script>