blob: 3e4fa699063f180b8b670fafc659b8eb8736f9bf [file] [edit]
<!DOCTYPE html>
<html>
<head>
<script src=../../media-resources/video-test.js></script>
<script>
async function runTest() {
findMediaElement();
const file = "white.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>