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 | 5 |
6 <script src=../media-file.js></script> | 6 <script src=../media-file.js></script> |
| 7 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 8 (Please avoid writing new tests using video-test.js) --> |
7 <script src=../video-test.js></script> | 9 <script src=../video-test.js></script> |
8 <script> | 10 <script> |
9 var videoCanPlayThrough = false; | 11 var videoCanPlayThrough = false; |
10 var trackLoaded = false; | 12 var trackLoaded = false; |
11 | 13 |
12 var currentCue; | 14 var currentCue; |
13 var currentCueNumber = 0; | 15 var currentCueNumber = 0; |
14 | 16 |
15 function runTests() | 17 function runTests() |
16 { | 18 { |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 | 77 |
76 </script> | 78 </script> |
77 </head> | 79 </head> |
78 <body onload="bodyLoaded()"> | 80 <body onload="bodyLoaded()"> |
79 <p>Tests that the video is paused after cues that have pause-on-exit fla
g are processed</p> | 81 <p>Tests that the video is paused after cues that have pause-on-exit fla
g are processed</p> |
80 <video controls> | 82 <video controls> |
81 <track id="testTrack" src="captions-webvtt/simple-captions.vtt" onlo
ad="loaded()" default> | 83 <track id="testTrack" src="captions-webvtt/simple-captions.vtt" onlo
ad="loaded()" default> |
82 </video> | 84 </video> |
83 </body> | 85 </body> |
84 </html> | 86 </html> |
OLD | NEW |