We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Fullscreen Javascript-change verge3d variables values when fullscreen is activated/deactivated?

Home Forums Programming Fullscreen Javascript-change verge3d variables values when fullscreen is activated/deactivated?

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #83221
    c4cc
    Customer

    I’d need smaller variable values when v3d is in small player screen, and larger variable values for fullscreen.

    Only when verge3d is loaded, and when I click a certain HTML element enabling fullscreen, the variables are changed as desired. However, when I escape fullscreen, the variables’ values do not change back to the earlier value.

    Also, when I press that fullscreen html element before v3d loads, the variable values do not increase as intended for fullscreen variable values.

    What did I do wrong here?

    Latest javascript:

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.