MozillaReality / horizon

(2015) Horizon was an experimental VR browser built on web standards using CSS-VR.
http://mozvr.github.io/horizon/web/
Other
1 stars 0 forks source link

Handle requestFullscreen requests (when a mono site requests VR mode) #111

Open caseyyee opened 9 years ago

caseyyee commented 9 years ago

We should handle cases ofelement.requestFullscreen() and appropriately display content.

There are two cases to be considered:

  1. Web content displayed in mono mode. eg: Hitting fullscreen button from within Youtube. For this case, we can present a larger view for content (or perhaps even a different environment)
  2. Web content displayed in mono mode and requestFullscreen with vrDisplay option is called. eg. mozvr.com demo's. In these cases, the content will need to be displayed as we do with full VR pages.

parent issue: #120 related: #78, #111, #189

caseyyee commented 9 years ago

We will need platform support to handle requestFullscreen behavior.

jcarpenter commented 9 years ago

Absolutely. We have some UX concepts for this (eg home theatre mode). Will create Trello card and link to this issue.

jcarpenter commented 9 years ago

Current thinking: ship without support for this in first release, acknowledge that limitations and initiate internal/public discussion around long term answer to question of whether to use requestFullScreen or something else.

cvan commented 9 years ago

We should talk to B2G/DOM folks about adding an mozbrowserfullscreenchange event that fires with vrDisplay so Horizon can identify that VR mode has entered.