Layer 1 · Player SDK

A 360° vehicle view on your site.

Let customers spin a vehicle through every angle directly on your listing or inspection page.

JavaScript, React, Vue, Angular, and a web component

Interactive 360° demo 0°
Vehicle shown in the interactive 360° player

What you can show

  • 360° exterior

    Spin from an indexed frame set, drag and auto-rotate, mobile-first, hotspot-aware

  • Interior panorama

    Cockpit view with navigable points of view

  • Photo gallery

    Browse photos by view and switch between original and enhanced images when both are supplied

  • Hotspot overlay

    Show markers anchored to frames or photos and open the associated inspection findings

Embed your first spin

Mount the Player on your page and pass your frame URLs in rotation order. For a listing that stays online, serve the images from your own storage or CDN.

Read the integration guide
JavaScript
import { CarhubPlayer } from '@carhub/player'

new CarhubPlayer('#player', {
  spinFrames: frames,
  tabview: '360',
  autoplay360: false,
  zoomable: false,
  fullscreenable: false,
  sharable: false,
  color: '#00875A',
})

Player options

Set options in the constructor. With readQueryParams: true, supported values from the host page URL override those options.

Content tabs
tabview
Sets the initial tab
selector
Shows or hides the tab switcher
excludeTab
Hides the tabs listed in a comma-separated value
interior
Includes the interior photo tab
Damage display
hotspot
Overlays damage markers on exterior and interior images
damages
Shows the damages carousel
Image quality
upscaled
Starts with enhanced images where available
upscaleToggle
Shows the enhanced and original image toggle
Interaction
zoomable
Zoom into the current image
fullscreenable
Enables the fullscreen image viewer
autoplay360
Auto-starts the rotation
photomode
Hides the 360° spin and shows photos only
carousel
Carousel navigation across the shot set
sharable
Shows the share icon
Branding
color
Sets the accent color using a three- or six-digit hex value, with or without #