TemplatesDiscord activities
Multiplayer Video
A Discord Activity template for synchronized video watching.
Multiplayer Video
Control a video player with friends using React. Everyone in the activity sees the same playback state.
Getting Started
Create a project with this template:
npx create-robo@next <project-name> --template discord-activities/react-multiplayer-video-tsThen navigate into your project directory:
cd <project-name>Run development mode:
npm run devFeatures
- Synchronized video playback
- Play/pause/seek controls
- Real-time state sync across all participants
- TypeScript support
How It Works
The template uses @robojs/sync to synchronize video state across all connected clients. When anyone interacts with the video controls, all participants see the same change.
Hosting
npm run deploy