4 function goFullscreen(id
) {
5 var element
= document
.getElementById(id
);
6 if (element
.webkitRequestFullScreen
) {
7 element
.webkitRequestFullScreen();
11 addEventListener('Loaded', function() {
12 document
.getElementById('video').addEventListener('play', function() {
13 console
.log('Video Played');
19 </script></head><body>
20 <button autofocus style ='padding:
1024px
1024px;'
onclick=
"goFullscreen('video'); return false">Big enough you can't miss it
</button>
22 <video style = 'width:
10px; height:
10px;' id='video' controls
>
23 <source id=
"webm" src=
"VIDEO_FILE_URL" type=
"video/webm">