blob: efa62201b59e8bad17293ba07325f6d9697db933 [file]
<!DOCTYPE html>
<html>
<head>
<script src=video-test.js></script>
<script>
async function runTest() {
findMediaElement();
const file = "content/test-vp8.webm"
const resp = await fetch(file);
const blob = await resp.blob();
const blobUrl = URL.createObjectURL(blob);
waitForEventAndEnd('loadedmetadata');
waitForEventAndFail('error');
video.src = blobUrl;
}
</script>
</head>
<body onload="runTest()">
<video></video>
</body>
</html>