VR mode for 360° tours: headsets, Meta Quest and Cardboard
Show a VR button in your 360° tour and see what it starts: a session on a headset such as a Meta Quest, or a split-screen phone view. VR is gaze-only.
Reference9 min read Updated
On this page
- Add the VR button
- VR Mode in the Top nav bar - dropdown
- VR Mode in the Icon bar
- VR Mode in the Top nav bar - multi menu
- VR Mode in the Side nav foot
- VR Mode in the phone's top bar
- VR Mode in the phone's bottom bar
- The Enter VR button
- What the button starts
- Immersive session
- Split-screen view
- Who sees the button
- Troubleshooting
VR mode is a button that you add to a tour in its Design tab, and it is off by default. A visitor who presses it gets an immersive VR session when their browser can start one, and otherwise a split-screen view made for a phone in a viewer. VR is gaze-only: a visitor looks at a spot for 1.5 seconds to use it. There are no controllers, no laser pointing and no teleporting, on a Meta Quest or on any other headset. We have not tried VR on a headset or in a Cardboard viewer: this page describes what the player sends and shows, read from its code. This page lists the switches that add the button, and what the button starts.
Who can use it. The owner and, by default, an Admin collaborator can open the Design tab. It is not open to Editors or Viewers. In the Basic view the Icons tab of the top nav bar, the icon bar and the multi menu has the switch; the phone bars (Mobile navigation) and the side menu's foot links are in the Advanced view only. A tour on a Free plan that wears a Pro theme and has never been hosted shows visitors the free Default look (see "Who sees the button").
When visitors get a change. Save & Render refreshes the stored copy that visitors get, unless Draft Workflows is on: then nothing reaches visitors until you click Publish changes. See My changes do not show for visitors.
Add the VR button
The preview shows a goggles icon with the tooltip Enter VR, which you can press there or on the Preview tab.
VR Mode in the Top nav bar - dropdown
Shows the VR button in the top bar.
Where: Design tab > under Navigation, Top nav bar – dropdown > Icons tab > card Icons in the bar > VR Mode. Keep Show title bar on, at the top of the panel. Or, with the bar off, leave Just icons on (on the Bar tab, in the Advanced view): the icon then floats at the top right. Basic and Advanced view.
Default: off
What it does: Adds the button to the bar.
What visitors see: A goggles icon, tooltip Enter VR.
Needs: Show title bar on (or Just icons). The free Default look of a Free plan has no VR button here.
Related: Customize the player's bars.
VR Mode in the Icon bar
Where: Design tab > Icon bar > Enable icon bar, then Icons tab > card Icons in the bar > VR Mode. Basic and Advanced view.
Default: on, and the bar is off
What it does: Adds the button to the icon bar.
What visitors see: The button among the round buttons of the bar.
Needs: Enable icon bar on.
Related: Icon bar settings.
VR Mode in the Top nav bar - multi menu
Where: Design tab > Top nav bar – multi menu > Icons tab > card Icons in the bar > VR Mode. Basic and Advanced view. Default: Off What it does: Adds the button to the bar. This bar is not part of a theme: it stays as you set it. What visitors see: The button in the bar. Related: Top nav bar: multi menu.
VR Mode in the Side nav foot
Where: Design tab > Side nav – list menu > Layout tab > card Foot links > Arrange & toggle icons > VR Mode. Advanced view.
Default: off
What it does: Adds a link at the foot of the side menu.
What visitors see: The link at the foot of the menu.
Related: Side nav: list menu.
VR Mode in the phone's top bar
On a screen 768 pixels wide or narrower the Mobile navigation settings apply.
Where: Design tab > Mobile navigation (Advanced view only) > Top bar tab > card Top bar features > VR Mode.
Default: off
What it does: Adds the button to the phone's top bar. Switch it on here as well as the Top nav bar – dropdown's own VR Mode. With that bar off (Show title bar and Just icons both off) and the Top nav bar – multi menu on, this switch is enough: the multi menu's phone strip draws it, and a phone with the multi menu left off phones gets a top bar of its own with it.
What visitors see: The button in the phone's top bar.
Related: Mobile navigation.
VR Mode in the phone's bottom bar
Where: Design tab > Mobile navigation (Advanced view only) > Bottom bar tab > card Bottom bar features > VR Mode.
Default: off
What it does: Adds the button to the phone's bottom bar. It needs nothing else.
What visitors see: The button in the phone's bottom bar. It starts VR, but does not count as a VR button for the floating Enter VR button.
Related: Mobile navigation.
The Enter VR button
A floating button the player adds on a device that can start a headset session.
Where: At the bottom of the page.
Default: Added when the page has none of the dropdown's, the icon bar's, the multi menu's or the side menu's VR buttons, and the visitor's browser says it can start an immersive session. The phone's bottom-bar button does not count for this.
What it does: Starts VR. It is not added in the editor or on the Preview tab, and it does not depend on the plan.
What visitors see: A button reading Enter VR.
Related: Fix embed problems.
What the button starts
A visitor gets one of two views: an immersive session or the split-screen view.
| Detail | Immersive session | Split-screen view |
|---|---|---|
| When | The browser says it can start one, and does | Anything else, such as no headset or a refused session |
| The picture | The page draws the room into the session | Two copies of the room side by side, one for each eye, on a black page |
| Looking around | The session's own tracking | The phone's motion, if the browser sends it (the player has no button that asks the browser for it), otherwise a drag |
| Leaving | No exit button of the player's own: the view closes when the session ends | A button ✕ Exit VR, top right |
In both views:
- The room opens facing the way the visitor was looking when they pressed the button, also on a scene that was levelled or calibrated on a floor plan.
- Each link hotspot is a cyan circle. A thin white ring marks the middle of the view: hold it on a circle for 1.5 seconds to go to that room.
- A tour with more than one scene also shows
◀ PREVandNEXT ▶buttons, below the point you faced when the room opened. They go to the previous and the next scene in the tour's order and wrap around at the ends. - Nothing else is drawn: info, video, audio and Surface Media hotspots, the floor plan and the menus are not in VR. There is no setting for stereoscopic photos.
- A sound from an audio hotspot that was playing when the visitor pressed the button keeps playing, and the player turns its direction with the headset (directional sound).
On a page whose player was set to load VR only when needed, a note Loading VR… shows while it loads, then VR starts.
Immersive session
The view inside a headset such as a Meta Quest.
Where: After a press of any VR button, when the browser says it can start a headset session.
Default: Used whenever the browser can start one and does; there is no setting.
What it does: The page asks the browser for an immersive VR session and draws the room into it. Looking around uses the session's own tracking. The player has no exit button of its own here: the view closes when the session ends.
What visitors see: The room around them in the headset, with the cyan link circles, the gaze ring and the ◀ PREV and NEXT ▶ buttons described above.
Needs: A browser and a device that can start a headset session.
Related: Accessibility in a tour.
Split-screen view
Two copies of the room side by side, for a phone in a Cardboard-style viewer.
Where: After a press of any VR button, when no headset session starts (no headset, or the browser refuses the session).
Default: Used whenever an immersive session is not started; there is no setting.
What it does: Shows the room twice on a black page, one copy for each eye. Looking around follows the phone's motion if the browser sends it (the player has no button that asks the browser for it), otherwise a drag.
What visitors see: The two copies and a button ✕ Exit VR, top right. If the browser refused a session the player had already asked for, the button is missing: see Troubleshooting.
Needs: A browser.
Who sees the button
- Free plan. A tour in a free theme, the Default Theme, shows visitors your design on its public page and in embeds. A tour in a Pro theme that has never been hosted shows the free Default look: no VR button in the Top nav bar – dropdown, the Icon bar or Mobile navigation, while VR Mode in the Top nav bar – multi menu or under Foot links of the Side nav – list menu stays. A free download is the Standard design, which has none. A paid plan, or a Vault that hosts the tour or has hosted it, gives visitors your design in any theme. The editor, the Preview tab and the Design page always show your design. The floating
Enter VRbutton does not depend on the plan. - Layout and Explore. The buttons belong to the player's default tour layout; the bare
marzipanolayout has none. The Explore page loads the player by itself once the page has loaded. - Embeds. The code from the Publish tab has an
allowlist that includesxr-spatial-tracking, as the Explore page's frame has (code copied from the Publish tab earlier has none: copy it again). We have not tested what that changes: see Fix embed problems.
Troubleshooting
There is no VR button. Check that VR Mode is switched on, that Show title bar is on (or Just icons, with the bar off), and that you clicked Save & Render. If the tour wears a Pro theme, has never been hosted and the account is on a Free plan, visitors get the free Default look, which has none in the Top nav bar – dropdown, the Icon bar or Mobile navigation.
I see two copies of the room and no ✕ Exit VR button. The player hides that button before it asks the browser for an immersive session. If the browser then refuses, the split-screen view opens without it. Reload the page to leave.
The split-screen view does not follow my phone's movement. Drag with a finger instead. The player has no button that asks the browser for permission to read motion data, so a browser that waits for that permission sends none.
Next steps
Was this article helpful?