OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <style> | 3 <style> |
4 #no-video-media { | 4 #no-video-media { |
5 width: 320px; | 5 width: 320px; |
6 height: 240px; | 6 height: 240px; |
7 } | 7 } |
8 </style> | 8 </style> |
9 <!-- TODO(philipj): Convert test to testharness.js. crbug.com/588956 | 9 <!-- TODO(foolip): Convert test to testharness.js. crbug.com/588956 |
10 (Please avoid writing new tests using video-test.js) --> | 10 (Please avoid writing new tests using video-test.js) --> |
11 <script src=video-test.js></script> | 11 <script src=video-test.js></script> |
12 <script src=media-file.js></script> | 12 <script src=media-file.js></script> |
13 <script src=media-controls.js></script> | 13 <script src=media-controls.js></script> |
14 <script> | 14 <script> |
15 var controls; | 15 var controls; |
16 | 16 |
17 function runTest() | 17 function runTest() |
18 { | 18 { |
19 video = document.getElementById("no-video-media"); | 19 video = document.getElementById("no-video-media"); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 <p>Test video element control visibility with multimodal input. The controls | 57 <p>Test video element control visibility with multimodal input. The controls |
58 should hide after a timeout if the last input event was a tap.</p> | 58 should hide after a timeout if the last input event was a tap.</p> |
59 <p>This test only runs in DRT!</p> | 59 <p>This test only runs in DRT!</p> |
60 | 60 |
61 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide
o> | 61 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide
o> |
62 <script> | 62 <script> |
63 setSrcById("no-video-media", findMediaFile("video", "content/test")); | 63 setSrcById("no-video-media", findMediaFile("video", "content/test")); |
64 </script> | 64 </script> |
65 </body> | 65 </body> |
66 </html> | 66 </html> |
OLD | NEW |