Search Unity

What is the difference between fullscreen [F11] and [script]

Discussion in 'WebGL' started by Paradoks, Sep 21, 2019.

  1. Paradoks

    Paradoks

    Joined:
    Oct 13, 2009
    Posts:
    419
    Hello,

    I got a code that switch my webGL game to fullscreen, the code works well.
    But the problem is that when i switch to fullscreen with code, my ads banners disapear !
    Somehow my <div> that contains the banners are not displayed.
    I don't have this problem when i fullscreen with [F11], but with [F11] i got the top bar that appears
    when my mouse comes to the edge of the screen.

    live here:
    http://www.adversator.com/

    So i would like to know:
    1 - What is technicaly the difference between the two ways
    2 - Is there a workaround that use best of two worlds - display ads with no top bar.

    Thanks