blob: 12fa569200c26699eaa32093414c25fa4f34e83d [file] [log] [blame]
<video controls></video>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
testExpected("video.autoplay", false);
video.autoplay = true;
testExpected("video.autoplay", true);
testExpected("video.getAttribute('autoplay')", null, "!=");
waitForEvent('play', function () {
testExpected("video.paused", false);
endTest();
} );
video.src = findMediaFile("video", "content/test");
</script>