# VDO.Ninja Examples

This directory contains various examples demonstrating different features and capabilities of VDO.Ninja. All examples are accessible through the index.html file.

## Categories

### Core API Examples
- **api_example.html** - Basic iframe API usage demonstration
- **simple_iframe_api.html** - Simple iframe API implementation
- **iframetesting.html** - Testing iframe functionality
- **iframe.outbound-stats.html** - Get stats from VDO.Ninja using the iframe API
- **mute_guest_iframe.html** - Control guest muting via iframe API
- **iframe_example.html** - Additional iframe API example

### UI & Layout Examples
- **draggable.html** - Drag multiple windows around to create custom layouts
- **dual.html** - Two VDO.Ninja windows (Picture-in-Picture style)
- **custom_overlay.html** - Custom overlay implementation
- **rotated.html** - Video rotation example
- **slidingzoom.html** - Sliding zoom effect

### Room Management
- **waiting_room.html** - Virtual waiting room implementation
- **simplelink.html** - Simple link generation
- **changepass.html** - Create passwords and HASH values for rooms
- **transfer.html** - Room transfer functionality

### Control Examples
- **obsremote.html** - Remotely control OBS using VDO.Ninja
- **webcontrol.html** - Web-based control interface
- **powerpoint.html** - PowerPoint control integration
- **gamecontroller.html** - Game controller input handling
- **switchmics.html** - Switch between microphones

### Hardware & Sensors
- **midi.html** - MIDI API demonstration
- **webhid.html** - Interface with USB devices (e.g., StreamDeck)
- **sensors.html** - Transmit sensor and video data from phone to computer
- **sensoroverlay.html** - Overlay sensor data on video
- **accelerometer.html** - Accelerometer data usage

### Platform Integration
- **twitch.html** - Twitch live chat side-by-side with VDO.Ninja
- **youtube.html** - YouTube integration example
- **kick.html** - Kick platform integration
- **wireless.html** - Wireless streaming setup
- **zoom.html** - Publish to VDO.Ninja for window-capturing into Zoom

### Specialized Applications
- **teleprompter.html** - Teleprompter implementation
- **teleprompt.html** - Alternative teleprompter
- **labelonly.html** - Display labels only
- **custom_labels.html** - Custom label implementation
- **socal.html** - Social streaming example

### Communication & Data
- **p2p.html** - Data transport tunneling service example
- **chat.html** - Chat-only interface (dockable into OBS)
- **googleai.html** - Google AI integration

### Utilities
- **testsdp.html** - SDP testing utility
- **status.html** - Status monitoring
- **ptz.html** - Pan-Tilt-Zoom camera control

## Usage

1. Open `index.html` in a web browser to see all examples organized by category
2. Click on any example to launch it
3. View the source code of each example to understand the implementation

## Notes

- Examples may require specific VDO.Ninja features or permissions
- Some examples work best when used with specific hardware or platforms
- Always check browser console for debugging information
- Many examples include inline documentation in their source code
