| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="../../media/media-file.js"></script> | 4 <script src="../../media/media-file.js"></script> |
| 5 <script src="../../media/video-test.js"></script> | 5 <script src="../../media/video-test.js"></script> |
| 6 <script type="text/javascript"> | 6 <script type="text/javascript"> |
| 7 if (window.testRunner) { | 7 if (window.testRunner) { |
| 8 window.testRunner.dumpAsText(true); | 8 window.testRunner.dumpAsTextWithPixelResults(); |
| 9 window.testRunner.waitUntilDone(); | 9 window.testRunner.waitUntilDone(); |
| 10 } | 10 } |
| 11 function runTest() { | 11 function runTest() { |
| 12 video = document.getElementById('video'); | 12 video = document.getElementById('video'); |
| 13 video.addEventListener('canplaythrough', canplaythrough, true); | 13 video.addEventListener('canplaythrough', canplaythrough, true); |
| 14 video.src = findMediaFile('video', '../../media/content/test'); | 14 video.src = findMediaFile('video', '../../media/content/test'); |
| 15 } | 15 } |
| 16 function canplaythrough(e) { | 16 function canplaythrough(e) { |
| 17 var video = e.target; | 17 var video = e.target; |
| 18 video.addEventListener('seeked', seeked, true); | 18 video.addEventListener('seeked', seeked, true); |
| (...skipping 11 matching lines...) Expand all Loading... |
| 30 -webkit-box-reflect: below 0px; | 30 -webkit-box-reflect: below 0px; |
| 31 border: 3px solid red; | 31 border: 3px solid red; |
| 32 } | 32 } |
| 33 </style> | 33 </style> |
| 34 </head> | 34 </head> |
| 35 <body onload="runTest()"> | 35 <body onload="runTest()"> |
| 36 <video id="video"></video> | 36 <video id="video"></video> |
| 37 </body> | 37 </body> |
| 38 </html> | 38 </html> |
| 39 | 39 |
| OLD | NEW |