3 This test checks that video tags created by javascript are are deferred
4 during prerendering and the autoplay is enabled during swap ins.
7 <title>Prerender for HTML5 video.
</title>
15 var videoTag
= document
.createElement("video");
16 videoTag
.src
= "bear.ogv"
17 videoTag
.id
= "mediaEl";
18 var element
= document
.getElementById("vid");
19 element
.appendChild(videoTag
);
22 var testNetworkEvents
= false;
25 <script src=
"prerender_html5_common.js"></script>
28 document
.getElementById("mediaEl").play();