| <script src="video-test.js"></script> |
| video = mediaElement = document.getElementsByTagName('video')[0]; |
| testExpected("video.canPlayType('audio/webm')", "maybe"); |
| testExpected("video.canPlayType('video/webm')", "maybe"); |
| testExpected("video.canPlayType('audio/webm; codecs=vorbis')", "probably"); |
| testExpected("video.canPlayType('video/webm; codecs=vp8,vorbis')", "probably"); |
| <p>Test HTMLMediaElement <em>canPlayType()</em> method for webm media containers.</p> |
| <p>These tests may be expected to fail if the WebKit port does not support the format.</p> |