<body> | |
<script src=video-test.js></script> | |
<video controls></video> | |
<script> | |
video = media = document.getElementsByTagName('video')[0]; | |
waitForEvent("loadstart", function () { | |
testExpected("relativeURL(video.currentSrc) ", "content/test.mp4"); | |
endTest(); | |
}); | |
video.src = "content/test.mp4"; | |
</script> |