| OLD | NEW |
| 1 <!-- NOTE: The ids in this file must be kept in sync with AwContentsClientFullSc
reenTest --> |
| 2 |
| 1 <html> | 3 <html> |
| 2 <head> | 4 <head> |
| 3 <script src="full_screen_video.js"></script> | 5 <script src="full_screen_video.js"></script> |
| 4 </head> | 6 </head> |
| 5 <body> | 7 <body> |
| 6 </script></head><body> | 8 </script></head><body> |
| 7 <button autofocus style ='padding:1024px 1024px;' onclick="goFullscreen('div');
return false">Big enough you can't miss it</button> | 9 <button id="fullscreenControl" autofocus style='padding:10px 10px;' onclick="goF
ullscreen('div'); return false">Go fullscreen</button> |
| 8 <p></p> | 10 <p></p> |
| 9 <div id='div'> | 11 <div id='div'> |
| 10 <!-- The video id must be kept in sync with VideoTestWebServer.VIDEO_ID --> | 12 <button id="playControl" style='padding:10px 10px;' onclick="playVideo(); re
turn false">Play</button> |
| 11 <video style = 'width: 1px; height: 1px;' id='video'> | 13 <video style = 'width: 300px; height: 300px;' id='video'> |
| 12 <source id="webm" src="VIDEO_FILE_URL" type="video/webm"> | 14 <source src="video.mp4" type="video/mp4"> |
| 13 </video> | 15 </video> |
| 14 <button style = 'width: 100%; height: 100%;' onclick="playVideo(); return fa
lse">Play</button> | |
| 15 </div> | 16 </div> |
| 16 </body> | 17 </body> |
| 17 </html> | 18 </html> |
| OLD | NEW |