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

Capture and play voice with Asterisk ARI -

c++ - Can not find the "fiostream.h" file -

java - Why database contraints in HSQLDB are only checked during a commit when using transactions in Hibernate? -