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

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -