blob: a8247b27e79ec2c2c5860871dc1cae6f792b219c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
<html>
<head>
<meta charset="UTF-8">
<script style="display: none;" id="fuzz1" type="text/javascript;version=1.7">
function boom()
{
var mediaSource = new window.MediaSource();
var mediaSourceURL = URL.createObjectURL(mediaSource);
var v1 = document.createElement('video');
v1.src = mediaSourceURL;
mediaSource.addEventListener("sourceopen", function (e) {
var v2 = document.createElement('video');
v2.src = mediaSourceURL;
setTimeout(function () {
v2.src = "data:text/plain,1";
v1.src = "data:text/plain,2";
}, 0);
});
}
</script>
</head>
<body onload="boom();"></body>
</html>
|