[Modern Media Controls] Turn media/modern-media-controls/ios-inline-media-controls...
[WebKit-https.git] / LayoutTests / media / media-can-play-mpeg4-video.html
1 <!DOCTYPE html>
2 <html>
3     <head>
4         <script src="video-test.js"></script>
5         <script>
6             function start()
7             {
8                 video = document.getElementsByTagName('video')[0];
9
10                 testExpected("video.canPlayType('video/x-m4v')", "maybe");
11                 testExpected("video.canPlayType('video/mp4')", "maybe");
12                 testExpected("video.canPlayType('video/mp4; Codecs=\"avc1.4D400C\"')", "probably");
13                 testExpected("video.canPlayType('        Video/MP4 ; CODECS=\"mp4v.20.8, mp4a.40.2\"')", "probably");
14
15                 endTest();
16             }
17         </script>
18     </head>
19     <body onload="start()">
20         <video controls></video>
21         <p>Test HTMLMediaElement <em>canPlayType()</em> method with multiple video mpeg4 MIME types.</p>
22         <p>These tests may be expected to fail if the WebKit port does not support the format.</p>
23     </body>
24 </html>