javascript - Cocos2d-js hangs on bootscreen when trying to go fullscreen -
my cocos2d-js game hangs "failed execute 'requestfullscreen' on 'element': api can initiated user gesture" on loader-screen" on mobile.
since seems cocos requests fullscreen withou me coding explicitly: how can prevent happening?
thanks lot!
i have found solution hidden in docs:
cc.view.enableautofullscreen(false);
edit:
that seems not work on chrome... still getting:
failed execute 'requestfullscreen' on 'element': api can initiated user gesture.
Comments
Post a Comment