OLD | NEW |
| (Empty) |
1 <html> | |
2 <head> | |
3 <title>initialTime attribute test</title> | |
4 <script src=media-file.js></script> | |
5 <script src=video-test.js></script> | |
6 | |
7 <script> | |
8 function loadeddata() | |
9 { | |
10 testExpected("video.initialTime", 0); | |
11 run("video.initialTime = 10"); | |
12 testExpected("video.initialTime", 0); | |
13 endTest(); | |
14 } | |
15 | |
16 function start() | |
17 { | |
18 findMediaElement(); | |
19 waitForEvent('loadeddata', loadeddata); | |
20 | |
21 video.src = findMediaFile("video", "content/test"); | |
22 } | |
23 | |
24 </script> | |
25 </head> | |
26 | |
27 <body onload="start()"> | |
28 <video controls> </video> | |
29 <p>Test the, so far unused, 'initialTime' attribute.</p> | |
30 | |
31 </body> | |
32 </html> | |
OLD | NEW |