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 23 matching lines...) Expand all Loading... |
43 <p>Test video element control visibility after touch on control. After a del
ay the | 43 <p>Test video element control visibility after touch on control. After a del
ay the |
44 controls must be hidden.</p> | 44 controls must be hidden.</p> |
45 <p>This test only runs in DRT!</p> | 45 <p>This test only runs in DRT!</p> |
46 | 46 |
47 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide
o> | 47 <video id="no-video-media" controls loop oncanplaythrough="runTest()"></vide
o> |
48 <script> | 48 <script> |
49 setSrcById("no-video-media", findMediaFile("video", "content/test")); | 49 setSrcById("no-video-media", findMediaFile("video", "content/test")); |
50 </script> | 50 </script> |
51 </body> | 51 </body> |
52 </html> | 52 </html> |
OLD | NEW |