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 /* Enforce a max width on the controls enclosure, so | 8 /* Enforce a max width on the controls enclosure, so |
7 * that it doesn't fill the entire player width. | 9 * that it doesn't fill the entire player width. |
8 */ | 10 */ |
9 video::-webkit-media-controls-enclosure { | 11 video::-webkit-media-controls-enclosure { |
10 max-width: 800px; | 12 max-width: 800px; |
11 } | 13 } |
12 </style> | 14 </style> |
(...skipping 21 matching lines...) Expand all Loading... |
34 </script> | 36 </script> |
35 <style> | 37 <style> |
36 video { | 38 video { |
37 width: 2000px; | 39 width: 2000px; |
38 height: 750px; | 40 height: 750px; |
39 } | 41 } |
40 </style> | 42 </style> |
41 <video controls> | 43 <video controls> |
42 <track src="captions-webvtt/long-word.vtt" default> | 44 <track src="captions-webvtt/long-word.vtt" default> |
43 </video> | 45 </video> |
OLD | NEW |