4 <title>Test currentTime of media controller when one of the element has initial start time greater than
0.
</title>
7 <video mediaGroup=
"group"></video>
8 <video mediaGroup=
"group"></video>
9 <script src=media-file.js
></script>
10 <script src=video-test.js
></script>
12 videos
= document
.getElementsByTagName('video');
15 controller
= video
.controller
;
17 var src
= findMediaFile("video", "content/test");
18 video
.src
= src
+ "#t=2";
20 testExpected("video.currentTime", 0);
21 testExpected("video2.currentTime", 0);
23 controller
.addEventListener("loadedmetadata", function()
25 testExpected("video.currentTime", 2);
26 testExpected("video2.currentTime", 2);
27 testExpected("controller.currentTime", 2);
30 waitForEventAndEnd('seeked');