Configuration
Here’s the completewebreel.config.json for this example:
What It Demonstrates
Global Theme Configuration
Thetheme object at the root level applies to all videos:
theme on individual videos to override the global settings.
Custom Cursor Image
Replace the default cursor with a custom SVG:image: Path to a PNG or SVG cursor file (relative to the config)size: Cursor size in pixelshotspot: Click point alignment ("top-left","center", or{ "x": 16, "y": 16 })
Cursor Hotspot
Thehotspot determines which part of the cursor image represents the actual click point:
"top-left": Default arrow cursor style"center": Touch/pointer cursors (as shown in this example){ "x": 16, "y": 16 }: Precise pixel coordinates
HUD Background and Color
Customize the keystroke overlay appearance:background: CSS color value (supports rgba for transparency)color: Text color (any CSS color format)
HUD Typography
Control the font appearance:fontSize: Size in pixelsfontFamily: CSS font stack (use monospace fonts for keyboard shortcuts)
HUD Border Radius
Round the corners of the HUD overlay:0 for sharp corners.
HUD Position
Place the HUD at the top or bottom of the screen:"bottom": Default position"top": Useful when bottom content is important
Video-Level Theme Overrides
You can override theme settings per video:Running the Example
videos/custom-theme.mp4.
Next Steps
- Keyboard Shortcuts - See the HUD in action
- Mobile Viewport - Customize for mobile devices
- Hello World - See the default theme