| 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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 | 51 |
| 52 function loaded() | 52 function loaded() |
| 53 { | 53 { |
| 54 consoleWrite("Test that cues are being matched properly by :past and
:future pseudo classes."); | 54 consoleWrite("Test that cues are being matched properly by :past and
:future pseudo classes."); |
| 55 findMediaElement(); | 55 findMediaElement(); |
| 56 video.src = findMediaFile('video', '../content/test'); | 56 video.src = findMediaFile('video', '../content/test'); |
| 57 video.id = "testvideo"; | 57 video.id = "testvideo"; |
| 58 waitForEvent('seeked', seeked); | 58 waitForEvent('seeked', seeked); |
| 59 waitForEvent('canplaythrough', function() { video.currentTime = seek
Times[0]; }); | 59 waitForEventOnce('canplaythrough', function() { video.currentTime =
seekTimes[0]; }); |
| 60 } | 60 } |
| 61 | 61 |
| 62 </script> | 62 </script> |
| 63 </head> | 63 </head> |
| 64 <body onload="loaded()"> | 64 <body onload="loaded()"> |
| 65 <video controls > | 65 <video controls > |
| 66 <track src="captions-webvtt/styling-timestamps.vtt" kind="captions"
default> | 66 <track src="captions-webvtt/styling-timestamps.vtt" kind="captions"
default> |
| 67 </video> | 67 </video> |
| 68 </body> | 68 </body> |
| 69 </html> | 69 </html> |
| OLD | NEW |