| 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 <script src=../video-test.js></script> | 7 <script src=../video-test.js></script> |
| 8 <script src=../media-controls.js></script> | 8 <script src=../media-controls.js></script> |
| 9 | 9 |
| 10 <script> | 10 <script> |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 { | 58 { |
| 59 consoleWrite("Test that directionality is set correctly on cues."); | 59 consoleWrite("Test that directionality is set correctly on cues."); |
| 60 testTrack = document.querySelector('track'); | 60 testTrack = document.querySelector('track'); |
| 61 | 61 |
| 62 findMediaElement(); | 62 findMediaElement(); |
| 63 video.src = findMediaFile('video', '../content/test'); | 63 video.src = findMediaFile('video', '../content/test'); |
| 64 | 64 |
| 65 consoleWrite(""); | 65 consoleWrite(""); |
| 66 consoleWrite("** RTL cues alternate with LTR cues **"); | 66 consoleWrite("** RTL cues alternate with LTR cues **"); |
| 67 waitForEvent('seeked', seeked); | 67 waitForEvent('seeked', seeked); |
| 68 waitForEvent('canplaythrough', function() { video.currentTime = .25;
}); | 68 waitForEventOnce('canplaythrough', function() { video.currentTime =
.25; }); |
| 69 } | 69 } |
| 70 </script> | 70 </script> |
| 71 </head> | 71 </head> |
| 72 <body onload="loaded()"> | 72 <body onload="loaded()"> |
| 73 <video controls > | 73 <video controls > |
| 74 <track src="captions-webvtt/captions-rtl.vtt" kind="captions" defaul
t> | 74 <track src="captions-webvtt/captions-rtl.vtt" kind="captions" defaul
t> |
| 75 </video> | 75 </video> |
| 76 </body> | 76 </body> |
| 77 </html> | 77 </html> |
| OLD | NEW |