<!DOCTYPE html> | |
<html> | |
<head> | |
<script src=../../media-resources/video-test.js></script> | |
<script> | |
if (window.testRunner) { | |
testRunner.dumpAsText(); | |
testRunner.setAlwaysAcceptCookies(true); | |
testRunner.waitUntilDone(); | |
} | |
function start() { | |
video = document.getElementById('video'); | |
waitForEventAndEnd('progress'); | |
waitForEventAndFail('stalled'); | |
video.src = "../resources/hls/test-vod.m3u8"; | |
} | |
</script> | |
</head> | |
<body onload="start()"> | |
<video id="video"></video> | |
</body> | |
</html> |