5 <title>local video</title>
7 <script src=media-file.js></script>
8 <script src=video-test.js></script>
13 testExpected("video.duration", 0, '>');
19 run("video.currentTime = video.duration - 0.2");
26 video.addEventListener("ended", ended);
27 video.addEventListener("playing", playing);
29 video.src = findMediaFile("video", "content/test");
37 <video controls autobuffer></video>
38 <p>Tests that duration is known after playback ended.</p>
39 <script>start()</script>