Your Website / Embedding

Advanced Embed Options

For web developers: URL parameters to control the embedded tour — lock to a scene, hide interface, auto-rotate, and cursor-driven motion.

This page is for web developers building a deeper integration — a hero section showing a single slowly-rotating room, a gallery of scenes, or a tour that reacts to the visitor's cursor. If you just want the tour on a page, Embedding Basics is all you need.

How it works

Add query parameters to the tour URL in your iframe's src:

<iframe
  src="https://your-tour-address/?mode=scene&scene=SCENE_ID&ui=none&autoRotate=1"
  width="100%"
  height="600"
  style="border: 0;"
  allow="fullscreen; gyroscope; accelerometer; xr-spatial-tracking"
></iframe>

We'll provide the scene IDs for your tour on request.

Parameters

Scene & interface

ParameterValuesDefaultEffect
modefull, scenefullscene locks the embed to a single scene — no navigating away.
scenescene IDstart sceneWhich scene to show first.
uifull, nonefullnone hides the viewer interface (menus, buttons) for a clean, ambient look.
hotspotsshowAll, hideAll, hideNavigation, hideNonNavigationshowAllShow all hotspots, hide all non-media hotspots, hide navigation hotspots, or hide non-navigation hotspots.
videoHotspots0 to disableonHide video hotspots.
audioHotspots0 to disableonHide audio hotspots.
imageHotspots0 to disableonHide image hotspots.

Input

ParameterValuesDefaultEffect
drag0 to disableonDisable drag-to-look.
zoom0 to disableonDisable zooming.
keyboard0 to disableonDisable keyboard controls.
gyro0 to disableonDisable phone motion controls.
xr0 to disableonDisable VR headset mode.

Auto-rotate

ParameterValuesDefaultEffect
autoRotate1 to enableoffSlowly rotate the view when idle.
autoRotateSpeed0.1122Rotation speed.
autoRotateDirectionleft, rightrightRotation direction.
autoRotateIdleDelay0303Seconds of inactivity before rotation resumes.

Cursor-driven motion

For hero sections where the panorama subtly follows the visitor's mouse:

ParameterValuesDefaultEffect
cursornone, parentnoneparent lets the embedding page drive the view from its own cursor position.
cursorMaxYaw0455Maximum horizontal sway, in degrees.
cursorMaxPitch0305Maximum vertical sway, in degrees.
cursorDamping0.0110.08Smoothing — lower is floatier.
motionModerelative, absoluterelativeHow pointer position maps to camera movement.

With cursor=parent, the embedding page reports its pointer via postMessage to the iframe:

const frame = document.querySelector("iframe");

document.addEventListener("mousemove", (event) => {
  frame.contentWindow.postMessage(
    {
      type: "realview:pointer",
      payload: {
        // Normalized to the range -1..1 across the page
        x: (event.clientX / window.innerWidth) * 2 - 1,
        y: (event.clientY / window.innerHeight) * 2 - 1,
        active: true,
      },
    },
    "*"
  );
});

Example recipes

Ambient hero background — one scene, no interface, slow rotation, no interaction:

?mode=scene&scene=SCENE_ID&ui=none&hotspots=hideAll&drag=0&zoom=0&keyboard=0&autoRotate=1&autoRotateSpeed=0.5&autoRotateIdleDelay=0

Cursor-follow hero — the room sways gently with the visitor's mouse:

?mode=scene&scene=SCENE_ID&ui=none&hotspots=hideAll&drag=0&zoom=0&cursor=parent&cursorMaxYaw=8&cursorMaxPitch=4

Scene gallery — several small embeds, each locked to a different room, tour opens full from a click-through link:

?mode=scene&scene=SCENE_ID&ui=none&hotspots=hideAll