Video Plugin
The Video plugin provides video upload, embedding, and playback capabilities with support for popular video providers (YouTube, Vimeo, Loom, Wistia, DailyMotion) and custom video sources.Installation
Usage
Features
- Video upload with custom handlers
- URL-based embedding from providers
- Support for YouTube, Vimeo, Loom, Wistia, DailyMotion
- Video player settings (controls, loop, muted, autoplay)
- Poster/thumbnail upload
- Resizable video with width/height control
- Alignment support (left, center, right)
- Object-fit options (contain, cover, fill)
- Upload progress tracking
- HTML, Markdown, and Email export
Options
Plugin Options Type
Element Type
Default Props
Provider Utilities
Hooks
useVideoUpload
useVideoDelete
useVideoPosterUpload
useVideoDimensions
useVideoPreview
Commands
Parsers
HTML
Deserialize: Converts<video> tags to video blocks
Serialize: Outputs video in flex container for alignment
Markdown
Examples
Basic Video Embed
YouTube Embed
Custom Upload Handler
Supported Providers
- YouTube:
https://www.youtube.com/watch?v=VIDEO_ID - Vimeo:
https://vimeo.com/VIDEO_ID - Loom:
https://www.loom.com/share/VIDEO_ID - Wistia:
https://username.wistia.com/medias/VIDEO_ID - DailyMotion:
https://www.dailymotion.com/video/VIDEO_ID
Related
- Image Plugin - Image upload and embedding
- Embed Plugin - General embeds
- Elements API - Manipulate video elements