Javascript full screen viewing on Chrome for Android (tablets)

I want my web application to hide browser tabs and the address bar in Chrome on mobile devices. document.documentElement.requestFullScreen() seems to have no effect. window.scroll(0,1) does not work on tablets.

If possible, I will also like a good solution for Chrome and / or Safari on iOS.

Any ideas? I am in Chrome 29 for Android.

+11
android google-chrome fullscreen
source share
1 answer

Check out this sample: here

try using webkitRequestFullscreen()

Also, " requestFullscreen() " S "in requestFullscreen() and changing document.webkitCancelFullScreen() to document.webkitExitFullscreen() . Updated browser compatibility comment." via Let-Your-Content-Do-The-Talking-Fullscreen-API

+12
source share

All Articles