adele@apple.com | 83e4482 | 2008-08-13 23:50:41 +0000 | [diff] [blame] | 1 | <body> |
mihaip@chromium.org | 9d9ccc1 | 2011-02-24 23:10:46 +0000 | [diff] [blame] | 2 | <script src=media-file.js></script> |
| 3 | <script src=video-test.js></script> |
tonyg@chromium.org | 71e0b30 | 2011-03-01 01:31:35 +0000 | [diff] [blame] | 4 | <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.com | 83e4482 | 2008-08-13 23:50:41 +0000 | [diff] [blame] | 11 | <video controls> |
| 12 | <source src=content/bogus.mpeg type="video/blahblah"> |
| 13 | <source src=content/test.mp4 type="video/mpeg; codecs="avc1.4D400C""> |
eric@webkit.org | bff0b2d | 2009-09-18 22:20:01 +0000 | [diff] [blame] | 14 | <source src=content/test.ogv type="video/ogg; codecs="theora,vorbis""> |
adele@apple.com | 83e4482 | 2008-08-13 23:50:41 +0000 | [diff] [blame] | 15 | <source src=content/error2.mpeg type=video/mpeg> |
| 16 | </video> |