d9874f964237cb0d85a10ae42df3a1caaca7576b
[WebKit-https.git] / LayoutTests / media / video-end.html
1 <video autoplay src=content/test.mp4 end=0.5s></video>
2 <script src=video-test.js></script>
3 <script>
4 test("!video.ended");
5 test("video.end == 0.5");
6 waitForEvent('ended', 
7     function () 
8     {
9         test("video.currentTime == 0.5");
10         test("video.ended");
11         endTest();
12     }
13 );
14 </script>