blob: 2d685fc24150d7cf90dd925f60f19a801c0da9dd [file] [log] [blame]
<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>