title: html 5 video to automatically open in fullscreen mode when user enter the current webpage
body: <ol>
  <li>first，I  create a webpage,and in this page has a button  linked to
  the html5 video player page(this is another page)</li>
  <li>and then, I want to achieve that when click the button, the next
  page(html5 video player page)can automatic full screen. 
  <h1> <strong>I want it to run in IPhone</strong></h1></li>
  </ol>
  
  <p>I try it use the code</p>
  
  <pre><code>window.load=function(){
   myVideo=document.getElementById('video')[0];
   if(!myVideo.webkitDisplayingFullscreen){
      goFullscreen();
   }
   function goFullScreen(){ myVideo.webkitEnterFullscreen();}
  }
  </code></pre>
  
  <blockquote>
    <p>and the chrome said:
    Uncaught InvalidStateError:Failed to execute'webkitEnterFullscreen'
    on 'HTMLVideoElement': This element may only enter fullscreen mode in
    response to a user gesture</p>
  </blockquote>
  
  <p>so is there some other solutions to  get the fullscreen mode automatically??</p>