blob: 5cd2ca713cbdf81a70f20717a45424cd083b05e3 [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<script src=media-file.js></script>
<script src=video-test.js></script>
<script>
function finish()
{
logResult(event.type == "loadeddata", "MediaPlayer extracted extension from src url.");
consoleWrite("");
endTest();
}
function start()
{
findMediaElement();
waitForEventAndEnd('loadeddata', finish);
waitForEvent('error', finish);
video.src = findMediaFile("video", "content/test") + "#01.00.xyz";
}
</script>
</head>
<body onload="start()">
<video controls ></video>
</body>
</html>