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 <script> | 7 <script> |
6 | 8 |
7 var tracks; | 9 var tracks; |
8 var expectedTrack; | 10 var expectedTrack; |
9 function setPreferences() { | 11 function setPreferences() { |
10 if (!window.internals) { | 12 if (!window.internals) { |
11 consoleWrite("<b>** This test only works in DRT! **<" + "/b>"); | 13 consoleWrite("<b>** This test only works in DRT! **<" + "/b>"); |
12 return; | 14 return; |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
87 </script> | 89 </script> |
88 <video> | 90 <video> |
89 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="de"> | 91 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="de"> |
90 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="es"> | 92 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="es"> |
91 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="en"> | 93 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="en"> |
92 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="fr"> | 94 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="fr"> |
93 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="es"> | 95 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="es"> |
94 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="ar" defau
lt> | 96 <track src="captions-webvtt/styling.vtt" kind="subtitles" srclang="ar" defau
lt> |
95 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="fr" defaul
t> | 97 <track src="captions-webvtt/styling.vtt" kind="captions" srclang="fr" defaul
t> |
96 </video> | 98 </video> |
OLD | NEW |