OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <title>Test that video webkitRequestFullscreen() works without any user
gesture if the requirement is removed.</title> | 3 <title>Test that video webkitRequestFullscreen() works without any user
gesture if the requirement is removed.</title> |
4 <script src=media-controls.js></script> | |
5 <script src=media-file.js></script> | 4 <script src=media-file.js></script> |
6 <script src=video-test.js></script> | 5 <script src=video-test.js></script> |
7 <script> | 6 <script> |
8 if (window.internals) | 7 if (window.internals) |
9 window.internals.settings.setMediaFullscreenRequiresUserGesture(
false); | 8 window.internals.settings.setMediaFullscreenRequiresUserGesture(
false); |
10 | 9 |
11 function canplaythrough() | 10 function canplaythrough() |
12 { | 11 { |
13 consoleWrite(""); | 12 consoleWrite(""); |
14 consoleWrite("* No user gesture initiated"); | 13 consoleWrite("* No user gesture initiated"); |
(...skipping 14 matching lines...) Expand all Loading... |
29 video.src = findMediaFile("video", "content/test"); | 28 video.src = findMediaFile("video", "content/test"); |
30 } | 29 } |
31 </script> | 30 </script> |
32 </head> | 31 </head> |
33 | 32 |
34 <body onload="start()"> | 33 <body onload="start()"> |
35 <p>Test that video webkitRequestFullscreen() works without any user gesture
if the requirement is removed.</p> | 34 <p>Test that video webkitRequestFullscreen() works without any user gesture
if the requirement is removed.</p> |
36 <video controls></video> | 35 <video controls></video> |
37 </body> | 36 </body> |
38 </html> | 37 </html> |
OLD | NEW |