我注意到在升级到Android 8后,状态栏不再隐藏在Chrome上html5
全屏。有没有办法隐藏这个?以前的Android版本不是这种情况。
Chrome: 64.0.3282.137
操作系统:Android 8.0.0,HTC 10 Build / OPR1.170623.0267
$([fullscreenButton, fullscreenSideButton]).on('click', function(){
self.goFullScreen();
});
goFullScreen: function(){
var self = this;
var viewel = document.getElementById('viewer-container');
if(viewel.requestFullscreen) {
viewel.requestFullscreen();
} else if (viewel.webkitRequestFullscreen) {
viewel.webkitRequestFullscreen();
} else if (viewel.mozRequestFullScreen) {
viewel.mozRequestFullScreen();
} else if (viewel.msRequestFullscreen) {
viewel.msRequestFullscreen();
}
},