Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script src=video-test.js></script> | |
| 5 </head> | |
| 6 <body> | |
| 7 <video id="video"></video> | |
| 8 <p>Verify there is a 'durationchange' event just before 'ended' event if the initially reported duration exceeds the actual data.</p> | |
| 9 <script> | |
| 10 waitForEvent('durationchange'); | |
|
philipj_slow
2014/12/10 22:59:14
Put these in the end, that seems more obvious and
Srirama
2014/12/11 06:43:57
Moved the events down.
Verified duration change wi
| |
| 11 waitForEventAndEnd('ended'); | |
| 12 video = document.getElementById('video'); | |
|
philipj_slow
2014/12/10 22:59:14
This is OK, but you can just document.createElemen
Srirama
2014/12/11 06:43:57
Done.
| |
| 13 video.src = "content/truncated.webm"; | |
| 14 video.play(); | |
| 15 </script> | |
| 16 </body> | |
| 17 </html> | |
| OLD | NEW |