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.

about the fullscreen feature

Home Forums Programming about the fullscreen feature

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68701
    xiaolllll
    Participant

    Hi the development team:
    I have embed the example “vertex_colors” in my site in iframe, for some security reason, I am using the “sandbox” feature in iframe, and set sandbox=”allow-scripts” only, the example is in the same virtual host with my site , and I set “Header set Access-Control-Allow-Origin null” in litespeed static context field to avoid CORS , now the problem is in firefox, the fullscreen button couldn’t display and I found that “document.fullscreenEnabled” feature is false, but everything in chrome work fine, so how to set the fullscreen feature in firefox?

    Any help would be appreciated! :good:

    #68716
    xiaolllll
    Participant

    ok seems that in firefox we should also set the allow attitude in order to use the fullscreen feature. B-)

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.