| 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 <style> | 10 <style> |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 } | 50 } |
| 51 } | 51 } |
| 52 | 52 |
| 53 function loaded() | 53 function loaded() |
| 54 { | 54 { |
| 55 consoleWrite("Test that the cue is styled properly throughout its li
fetime."); | 55 consoleWrite("Test that the cue is styled properly throughout its li
fetime."); |
| 56 findMediaElement(); | 56 findMediaElement(); |
| 57 video.src = findMediaFile('video', '../content/test'); | 57 video.src = findMediaFile('video', '../content/test'); |
| 58 video.id = "testvideo"; | 58 video.id = "testvideo"; |
| 59 waitForEvent('seeked', seeked); | 59 waitForEvent('seeked', seeked); |
| 60 waitForEvent('canplaythrough', function() { video.currentTime = init
ialTime; }); | 60 waitForEventOnce('canplaythrough', function() { video.currentTime =
initialTime; }); |
| 61 } | 61 } |
| 62 | 62 |
| 63 </script> | 63 </script> |
| 64 </head> | 64 </head> |
| 65 <body onload="loaded()"> | 65 <body onload="loaded()"> |
| 66 <video controls > | 66 <video controls > |
| 67 <track src="captions-webvtt/styling-lifetime.vtt" kind="captions" de
fault> | 67 <track src="captions-webvtt/styling-lifetime.vtt" kind="captions" de
fault> |
| 68 </video> | 68 </video> |
| 69 </body> | 69 </body> |
| 70 </html> | 70 </html> |
| OLD | NEW |