OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <script src=../media-file.js></script> | 2 <script src=../media-file.js></script> |
| 3 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 |
| 4 (Please avoid writing new tests using video-test.js) --> |
3 <script src=../video-test.js></script> | 5 <script src=../video-test.js></script> |
4 <script src=../media-controls.js></script> | 6 <script src=../media-controls.js></script> |
5 <style> | 7 <style> |
6 /* Author settings for the cues */ | 8 /* Author settings for the cues */ |
7 video::cue(c) { | 9 video::cue(c) { |
8 color: red; | 10 color: red; |
9 background-color: green; | 11 background-color: green; |
10 text-shadow: 3px 3px #00ff00; | 12 text-shadow: 3px 3px #00ff00; |
11 font-size: 20px; | 13 font-size: 20px; |
12 font-family: arial; | 14 font-family: arial; |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 findMediaElement(); | 64 findMediaElement(); |
63 video.src = findMediaFile('video', '../content/test'); | 65 video.src = findMediaFile('video', '../content/test'); |
64 video.currentTime = 0.1; | 66 video.currentTime = 0.1; |
65 waitForEvent('canplaythrough', verifyAuthorSettings); | 67 waitForEvent('canplaythrough', verifyAuthorSettings); |
66 } | 68 } |
67 | 69 |
68 </script> | 70 </script> |
69 <video> | 71 <video> |
70 <track src="captions-webvtt/styling.vtt" kind="captions" default> | 72 <track src="captions-webvtt/styling.vtt" kind="captions" default> |
71 </video> | 73 </video> |
OLD | NEW |