6 video { background-color: yellow; width: 320px; height: 240px;}
8 <script src=video-test.js></script>
12 testExpected("mediaElement.canPlayType('APPLICATION/octet-stream')", "");
13 testExpected("mediaElement.canPlayType('application/octet-stream;codecs=theora')", "");
14 testExpected("mediaElement.canPlayType('application/octet-stream;codecs=mp4')", "");
19 consoleWrite("<em>++ Test with <video> element.</em>");
20 mediaElement = document.getElementsByTagName('video')[0];
23 consoleWrite("<br><em>++ Test with <audio> element.</em>");
24 mediaElement = new Audio();
32 <body onload="start()">
34 <video controls ></video>
36 <p>Test HTMLMediaElement <em>canPlayType()</em> method with "application/octet-stream".</p>