Asset Viewer

ui://asset-viewer/app.html

Unified inline viewer for all Scenario asset types: images, videos, audio, 3D models, and textures. Renders inside MCP App-capable hosts as a sandboxed iframe.

Supported Types

image

Static images — PNG, JPEG, WebP. Zoom/pan with wheel and drag.

video

Video assets — MP4, WebM. HTML5 player with native controls.

audio

Audio assets — MP3, WAV, OGG. Player with frequency waveform.

3d

3D models — GLB/GLTF, FBX, VOX, OBJ. Interactive orbit viewer.

texture

PBR texture maps — albedo, normal, metallic, roughness. Auto-generated previews.

Features

  • Image: zoom/pan with wheel and drag, metadata overlay
  • Video: HTML5 player with native controls
  • Audio: HTML5 player with frequency waveform visualization
  • Format support: GLB/GLTF, FBX, VOX, OBJ (with textures)
  • Display modes: original, solid, normal, wireframe-only
  • Quad wireframe overlay for OBJ and FBX
  • Cube wireframe for VOX voxels
  • Orbit controls with auto-fit camera presets
  • 3-point studio lighting with camera follow
  • GLTF and FBX animation playback
  • Exploded view for multi-part models
  • Reflective floor
  • Sidebar controls for all settings
  • View capture: screenshot, upload, and agent notification
  • Texture viewer with auto-generated PBR maps
  • Host theme integration via CSS variables
  • Safe area inset support

CSP Domains

Content Security Policy domains configured for asset loading:

DomainPurpose
cdn.scenario.comScenario CDN
*.scenario-labs.ioScenario CDN
*.amazonaws.comS3 asset storage
*.cloudfront.netScenario CDN