Posted By

alexteg on 09/23/11


javascript safari api fullscreen chrome webkit

Versions (?)

Javascript Fullscreen API webkit

 / Published in: JavaScript


  1. if (this.webkitRequestFullScreen){
  2. document.documentElement.webkitRequestFullScreen ();
  3. }else{
  4. alert('Browser not supported. You need to install the latest WebKit (for example Chrome 15) in order to use the full-screen API.');
  5. }

Report this snippet  

You need to login to post a comment.