4 <script src=
"../../media/media-file.js"></script>
5 <script src=
"../../media/video-test.js"></script>
6 <script type=
"text/javascript">
7 if (window
.testRunner
) {
8 window
.testRunner
.dumpAsTextWithPixelResults();
9 window
.testRunner
.waitUntilDone();
12 video
= document
.getElementById('video');
13 video
.addEventListener('canplaythrough', canplaythrough
, true);
14 video
.src
= findMediaFile('video', '../../media/content/test');
16 function canplaythrough(e
) {
18 video
.addEventListener('seeked', seeked
, true);
19 video
.currentTime
= 1;
22 testExpected('video.currentTime', 1);
24 if (window
.testRunner
)
25 setTimeout(function() { testRunner
.notifyDone(); }, 150);
30 -webkit-box-reflect: below
0px;
31 border:
3px solid red;
35 <body onload=
"runTest()">
36 <video id=
"video"></video>