upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / media / video-source-type.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title> &lt;source&gt; @type attribute</title>
5
6     <script src=media-file.js></script>
7     <script src=video-test.js></script>
8     <script>
9         waitForEvent("loadstart", function () {
10             video = mediaElement = document.getElementsByTagName('video')[0];
11             testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(findMediaFile("video", "content/test")));
12             endTest();
13         });
14     </script>
15 </head>
16 <body>
17     <video controls>
18         <source src=content/error.mpeg type=video/blahblah>
19         <source src=test.mp4 type=video/x-chicken-face>
20         <source src=test.ogv type=audio/x-higglety-pigglety>
21         <source src=content/test.mp4 type=video/mp4>
22         <source src=content/test.ogv type=video/ogg>
23         <source src=content/error2.mpeg type=video/mpeg>
24     </video>
25 </body>
26 </html>