| 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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 run("video.currentTime = " + seekTimes[seekedCount]); | 73 run("video.currentTime = " + seekTimes[seekedCount]); |
| 74 } | 74 } |
| 75 } | 75 } |
| 76 | 76 |
| 77 function loaded() | 77 function loaded() |
| 78 { | 78 { |
| 79 findMediaElement(); | 79 findMediaElement(); |
| 80 video.src = findMediaFile('video', '../content/test'); | 80 video.src = findMediaFile('video', '../content/test'); |
| 81 video.id = "testvideo"; | 81 video.id = "testvideo"; |
| 82 waitForEvent('seeked', seeked); | 82 waitForEvent('seeked', seeked); |
| 83 waitForEvent('canplaythrough', function() { video.currentTime = seek
Times[0]; }); | 83 waitForEventOnce('canplaythrough', function() { video.currentTime =
seekTimes[0]; }); |
| 84 } | 84 } |
| 85 | 85 |
| 86 </script> | 86 </script> |
| 87 </head> | 87 </head> |
| 88 <body onload="loaded()"> | 88 <body onload="loaded()"> |
| 89 <video controls > | 89 <video controls > |
| 90 <track src="captions-webvtt/styling.vtt" kind="captions" default> | 90 <track src="captions-webvtt/styling.vtt" kind="captions" default> |
| 91 </video> | 91 </video> |
| 92 </body> | 92 </body> |
| 93 </html> | 93 </html> |
| OLD | NEW |