| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
| 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
| 6 | 6 |
| 7 <script src=../media-file.js></script> | 7 <script src=../media-file.js></script> |
| 8 <script src=../media-controls.js></script> | |
| 9 | 8 |
| 10 <script> | 9 <script> |
| 11 var requirePixelDump = true; | 10 var requirePixelDump = true; |
| 12 | 11 |
| 13 function loaded() | 12 function loaded() |
| 14 { | 13 { |
| 15 consoleWrite("Rendering vertical line-positioned cues with Japanese
text."); | 14 consoleWrite("Rendering vertical line-positioned cues with Japanese
text."); |
| 16 findMediaElement(); | 15 findMediaElement(); |
| 17 | 16 |
| 18 testTrack = document.querySelector('track'); | 17 testTrack = document.querySelector('track'); |
| 19 video.src = findMediaFile('video', '../content/test'); | 18 video.src = findMediaFile('video', '../content/test'); |
| 20 | 19 |
| 21 waitForEvent('seeked', endTest); | 20 waitForEvent('seeked', endTest); |
| 22 waitForEvent('canplaythrough', function() { | 21 waitForEvent('canplaythrough', function() { |
| 23 video.currentTime = .75; | 22 video.currentTime = .75; |
| 24 }); | 23 }); |
| 25 } | 24 } |
| 26 | 25 |
| 27 </script> | 26 </script> |
| 28 | 27 |
| 29 <script src=../video-test.js></script> | 28 <script src=../video-test.js></script> |
| 30 </head> | 29 </head> |
| 31 <body onload="loaded()"> | 30 <body onload="loaded()"> |
| 32 <video controls> | 31 <video> |
| 33 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca
ptions" default> | 32 <track src="captions-webvtt/captions-snap-to-lines-set.vtt" kind="ca
ptions" default> |
| 34 </video> | 33 </video> |
| 35 </body> | 34 </body> |
| 36 </html> | 35 </html> |
| OLD | NEW |