360 SDK — Quickstart
From StreamResult to mounted 360° experience in minutes.
Install
bash
npm install @outerview/sdk-360
Mount a player
JavaScript
import { create360Player } from "@outerview/sdk-360";
const player = create360Player({
container: "#viewer",
videoUrl: "https://cdn.outerview.com/captures/example-360.mp4",
autoplay: true,
muted: true,
});Feed it a Stream result
The SDK consumes a StreamResult directly: pass media.video_url from any result with interactive: true. Non-interactive results render as flat video automatically.
Next steps
Wire Controls for programmatic orientation, subscribe to Events to drive your UI, and see Embedding Results for search → experience flows.