blob: 80d66a7e0b2c8d5fbfa4bc4f6d1b78c95aeb82d1 [file] [log] [blame] [edit]
<!DOCTYPE html>
<html>
<head>
<script src=video-test.js></script>
<script>
async function runTest() {
findMediaElement();
const file = "content/test.mp4"
const resp = await fetch(file);
const blob = await resp.blob();
waitForEventAndEnd('loadedmetadata');
waitForEventAndFail('error');
video.srcObject = blob;
}
</script>
</head>
<body onload="runTest()">
<video></video>
</body>
</html>