blob: 6dd9bbc2bd12cec065ba94eebfd8b02b4df5f677 [file] [log] [blame]
adele@apple.com83e44822008-08-13 23:50:41 +00001<body>
mihaip@chromium.org9d9ccc12011-02-24 23:10:46 +00002<script src=media-file.js></script>
3<script src=video-test.js></script>
tonyg@chromium.org71e0b302011-03-01 01:31:35 +00004<script>
5 waitForEvent('loadstart', function () {
6 video = mediaElement = document.getElementsByTagName('video')[0];
7 testExpected("stripExtension(relativeURL(video.currentSrc))", stripExtension(findMediaFile("video", "content/test")));
8 endTest();
9 } );
10</script>
adele@apple.com83e44822008-08-13 23:50:41 +000011<video controls>
12 <source src=content/bogus.mpeg type="video/blahblah">
13 <source src=content/test.mp4 type="video/mpeg; codecs=&quot;avc1.4D400C&quot;">
eric@webkit.orgbff0b2d2009-09-18 22:20:01 +000014 <source src=content/test.ogv type="video/ogg; codecs=&quot;theora,vorbis&quot;">
adele@apple.com83e44822008-08-13 23:50:41 +000015 <source src=content/error2.mpeg type=video/mpeg>
16</video>