Git init
[framework/web/webkit-efl.git] / LayoutTests / media / media-can-play-mpeg-audio.html
1 <html>
2     <head>
3         <style>
4             video { background-color: yellow; width: 320px; height: 240px;}
5         </style>
6         <script src=video-test.js></script>
7         <script>
8             function start()
9             {
10                 video = mediaElement = document.getElementsByTagName('video')[0];
11
12                 testExpected("video.canPlayType('audio/x-mpeg')", "maybe");
13                 testExpected("video.canPlayType('audio/x-mp3')", "maybe");
14                 testExpected("video.canPlayType('audio/mp3')", "maybe");
15
16                 testExpected("video.canPlayType('audio/mp4')", "maybe");
17                 testExpected("video.canPlayType('audio/aac')", "maybe");
18
19                 endTest();
20             }
21         </script>
22
23     </head>
24     <body onload="start()">
25
26         <video controls ></video>
27
28         <p>Test HTMLMediaElement <em>canPlayType()</em> method with multiple mp3 MIME types.</p>
29
30     </body>
31 </html>