WebCore:
[WebKit-https.git] / LayoutTests / media / video-seek-past-end-paused.html
1 <video></video>
2 <p>Test that seeking paused video past it's duration time sets currentTime to duration and leaves video paused.</p>
3 <script src=video-test.js></script>
4 <script>
5 waitForEvent('load', function () { 
6     waitForEventAndTest('timeupdate', "video.currentTime == video.duration");
7     run("video.currentTime = 500");
8     endTestLater();
9 });
10 video.src = "content/test.mp4";
11 run("video.load()");
12 </script>