| <body> | |
| <script src=video-test.js></script> | |
| <script> | |
| waitForEvent('loadstart', function () { | |
| video = mediaElement = document.getElementsByTagName('video')[0]; | |
| testExpected("relativeURL(video.currentSrc)", "content/test.mp4"); | |
| endTest(); | |
| } ); | |
| </script> | |
| <video controls> | |
| <source src=content/error.mpeg media="print"> | |
| <source src=content/error2.mpeg media="screen and (min-device-width: 80000px)"> | |
| <source src=content/test.mp4 media="screen and (min-device-width: 100px)"> | |
| </video> |