11 lines
380 B
HTML
11 lines
380 B
HTML
<video autoplay controls></video>
|
|
<script src=media-file.js></script>
|
|
<script src=video-test.js></script>
|
|
|
|
<script>
|
|
testExpected("video.autoplay", true);
|
|
testExpected("video.getAttribute('autoplay')", null, '!=');
|
|
waitForEvent('play', function () { testExpected("video.paused", false); endTest(); } );
|
|
video.src = findMediaFile("video", "content/test");
|
|
</script>
|