OPTI-3196: VR support#160
Conversation
🦋 Changeset detectedLatest commit: fe47b5c The changes in this PR will be included in the next version bump. This PR includes changesets to release 2 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
I am not very happy with where the compass is on default UI on mobile. Maybe it should go on the left of AirPlay icon. What do you think is the best @MattiasBuelens? Or does it look fine?
|
| const vr = this._player.vr; | ||
| if (vr !== undefined && vr.state !== 'unavailable') { | ||
| vr.useDeviceMotionControls = true; | ||
| } |
There was a problem hiding this comment.
This looks a bit out of place... 😕
There was a problem hiding this comment.
Hmm, I suppose our video.js UI is also doing this when the BigPlayButton is clicked. Maybe we should move this inside ChromelessPlayer.prepareWithUserAction() instead... 🤔
Yeah, that looks weird with the two "rows" at the top. 😅 What do other players do? |
I haven't (yet) seen another player with a VR compass. You can just move the video around. |

This PR adds VR components to Web UI. Main changes are:
Default UI on desktop with a VR source (the VR compass can be customized on a custom UI):
