OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
5 <script src="../media-file.js"></script> | 5 <script src="../media-file.js"></script> |
| 6 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 7 (Please avoid writing new tests using video-test.js) --> |
6 <script src="../video-test.js"></script> | 8 <script src="../video-test.js"></script> |
7 <script src="../media-controls.js"></script> | 9 <script src="../media-controls.js"></script> |
8 <script> | 10 <script> |
9 var cueNode; | 11 var cueNode; |
10 var seekedCount = 0; | 12 var seekedCount = 0; |
11 var step = 0.4; | 13 var step = 0.4; |
12 var initialTime = 0.6; | 14 var initialTime = 0.6; |
13 var endTime = 3.0 | 15 var endTime = 3.0 |
14 | 16 |
15 function seeked() | 17 function seeked() |
(...skipping 23 matching lines...) Expand all Loading... |
39 waitForEvent('seeked', seeked); | 41 waitForEvent('seeked', seeked); |
40 waitForEventOnce('canplaythrough', function() { video.currentTime = initialT
ime; }); | 42 waitForEventOnce('canplaythrough', function() { video.currentTime = initialT
ime; }); |
41 } | 43 } |
42 </script> | 44 </script> |
43 </head> | 45 </head> |
44 <body onload="loaded()"> | 46 <body onload="loaded()"> |
45 <div id='host'> | 47 <div id='host'> |
46 </div> | 48 </div> |
47 </body> | 49 </body> |
48 </html> | 50 </html> |
OLD | NEW |