Add new access object callback
[framework/web/webkit-efl.git] / LayoutTests / media / video-currentTime-set2.html
1 <video controls></video>
2 <script src=media-file.js></script>
3 <script src=video-test.js></script>
4 <script>
5     waitForEvent('canplaythrough',  
6     function () { 
7         video.currentTime = 1.5; 
8         testExpected("video.currentTime.toFixed(1)", 1.5);
9         video.play();
10         video.currentTime = 3.1; 
11         testExpected("video.currentTime.toFixed(1)", 3.1);
12         endTest();
13     });
14     video.src = findMediaFile("video", "content/test");
15 </script>