blob: bffc4cfc366bafb671bd2ee59ec375edd8b637fd [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();
waitForEventAndEnd('loadedmetadata');
waitForEventAndFail('error');
video.srcObject = blob;
}
</script>
</head>
<body onload="runTest()">
<video></video>
</body>
</html>