Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(537)

Side by Side Diff: android_webview/test_apk/assets/full_screen_video_test.html

Issue 12609013: [android_webview] Build test code against the shell APK. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix up minsdkversoin Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function goFullscreen(id) {
5 var element = document.getElementById(id);
6 if (element.webkitRequestFullScreen) {
7 element.webkitRequestFullScreen();
8 }
9 }
10
11 addEventListener('Loaded', function() {
12 document.getElementById('video').addEventListener('play', function() {
13 console.log('Video Played');
14 }, false);
15 }, false);
16 </script>
17 </head>
18 <body>
19 </script></head><body>
20 <button autofocus style ='padding:1024px 1024px;' onclick="goFullscreen('video') ; return false">Big enough you can't miss it</button>
21 <p></p>
22 <video style = 'width: 10px; height: 10px;' id='video' controls>
23 <source id="webm" src="VIDEO_FILE_URL" type="video/webm">
24 </video>
25 </body>
26 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698