0 Favourites

[SOLVED] Request fullscreen doesn't seem to work?

  • I have been reading about this for the last hour now and no matter what i try i can't get the Browser-object's "Request fullscreen" to trigger. At first i thought it might be other things in my project code that prevented this from working, so i tried a blank document with only this object present.

    <img src="http://i.imgur.com/5OQP5DD.png" border="0" />

    Clearly I must be doing something wrong because I've tried it on my PC with both Firefox and Chrome and on my Galaxy S4 with Chrome, all latest versions... <img src="smileys/smiley7.gif" border="0" align="middle" />

    Now I've seen pages before that do request fullscreen so i know it works in my browser. I also performs just fine if i press F11. Any help would be appreciated. <img src="smileys/smiley1.gif" border="0" align="middle" />

  • Construct 3

    Buy Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Buy Now Construct 3 users don't see these ads
  • From the manual

    Request fullscreen

    Request that the browser enter fullscreen mode. Note the browser may ignore this request unless the action is in a user-initiated event, such as a mouse click, key press, touch event or button press.

  • Superb! I actually never got that part. I strangely enough read it but it never occurred to me that user input is needed.

    Now I simply added a button which triggered the request and voila! Thanks! ^^

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)