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 <style> | 10 <style> |
9 video::cue(.red, .red2) { color:red } | 11 video::cue(.red, .red2) { color:red } |
10 video::cue(.green) { color:green } | 12 video::cue(.green) { color:green } |
11 </style> | 13 </style> |
12 <script> | 14 <script> |
13 var cueNode; | 15 var cueNode; |
14 var seekedCount = 0; | 16 var seekedCount = 0; |
15 var step = 0.4; | 17 var step = 0.4; |
(...skipping 26 matching lines...) Expand all Loading... |
42 waitForEvent('seeked', seeked); | 44 waitForEvent('seeked', seeked); |
43 waitForEventOnce('canplaythrough', function() { video.currentTime = initialT
ime; }); | 45 waitForEventOnce('canplaythrough', function() { video.currentTime = initialT
ime; }); |
44 } | 46 } |
45 </script> | 47 </script> |
46 </head> | 48 </head> |
47 <body onload="loaded()"> | 49 <body onload="loaded()"> |
48 <div id='host'> | 50 <div id='host'> |
49 </div> | 51 </div> |
50 </body> | 52 </body> |
51 </html> | 53 </html> |
OLD | NEW |