2 <title>Tests setting the poster attribute after a video is playing and then calling load.
</title>
5 testRunner
.waitUntilDone();
8 var video
= document
.querySelector('video');
9 video
.addEventListener("playing", function () {
10 video
.poster
= "content/abe.png";
11 video
.removeAttribute("src");
13 if (window
.testRunner
)
14 setTimeout(function() { testRunner
.notifyDone(); }, 1000);
17 video
.src
= "resources/test-positive-start-time.webm"
21 window
.addEventListener('load', startTest
, false);