Video Element
The Video element embeds YouTube or Vimeo videos in your popup. Perfect for tutorials, product demos, and promotional content.
Overview
| Property | Value |
|---|---|
| Element Type | video |
| Can Contain Children | No |
| Supported Platforms | YouTube, Vimeo |
Use Cases
- Product demo videos
- Tutorial content
- Promotional videos
- Testimonial videos
- Welcome messages
- Course previews
Content Settings
Video URL
Paste the video URL:
YouTube formats:
https://www.youtube.com/watch?v=VIDEO_ID
https://youtu.be/VIDEO_ID
Vimeo formats:
https://vimeo.com/VIDEO_ID
Autoplay
Automatically play video when popup opens:
| Option | Description |
|---|---|
| Enabled | Video plays automatically |
| Disabled | User must click to play |
Most browsers require videos to be muted for autoplay to work. Enable "Muted" for reliable autoplay.
Muted
Start video without sound:
| Option | Description |
|---|---|
| Enabled | Video starts muted |
| Disabled | Video plays with sound |
Loop
Repeat video continuously:
| Option | Description |
|---|---|
| Enabled | Video loops |
| Disabled | Video plays once |
Controls
Show video player controls:
| Option | Description |
|---|---|
| Enabled | Show play/pause, volume, etc. |
| Disabled | Hide controls (for autoplay loops) |
YouTube-Specific Settings
Start Time
Begin playback at specific time:
Start: 30 (seconds)
Related Videos
Show related videos at end:
| Option | Description |
|---|---|
| Show | Display YouTube's related videos |
| Hide | Don't show related videos |
Modest Branding
Reduce YouTube branding:
| Option | Description |
|---|---|
| Enabled | Minimal YouTube logo |
| Disabled | Standard branding |
Privacy Mode
Use privacy-enhanced mode:
Enabled: Uses youtube-nocookie.com
Vimeo-Specific Settings
Color
Customize player accent color:
Color: #4F46E5
Title
Show/hide video title.
Byline
Show/hide creator name.
Portrait
Show/hide creator avatar.
Size Settings
Width
Video width:
| Option | Description |
|---|---|
| Auto | Natural aspect ratio |
| Full | 100% container width |
| Fixed | Specific pixel value |
Height
Video height (or use aspect ratio).
Aspect Ratio
Common video ratios:
| Ratio | Description |
|---|---|
| 16:9 | Widescreen (most common) |
| 4:3 | Traditional |
| 1:1 | Square |
| 9:16 | Vertical/mobile |
Style Settings
Border Radius
Round video corners:
Border Radius: 12px
Shadow
Add depth:
Shadow: 0 4px 20px rgba(0,0,0,0.15)
Border
Add border around video:
Border: 1px solid #e2e8f0
Layout Settings
Alignment
Position video horizontally:
| Option | Description |
|---|---|
| Left | Align to left |
| Center | Center horizontally |
| Right | Align to right |
Margin
Space around the video.
Thumbnail Settings
Custom Thumbnail
Override default video thumbnail:
- Upload custom image
- Use URL
Play Button Overlay
Customize play button appearance.
Advanced Settings
HTML ID
Custom ID for targeting.
CSS Classes
Add custom classes.
Lazy Load
Load video only when visible:
| Option | Description |
|---|---|
| Enabled | Better performance |
| Disabled | Load immediately |
Examples
Product Demo
URL: https://www.youtube.com/watch?v=demo123
Settings:
- Autoplay: Disabled
- Controls: Enabled
- Related Videos: Hidden
- Width: 100%
- Aspect Ratio: 16:9
- Border Radius: 12px
Background Video Loop
URL: https://www.youtube.com/watch?v=ambient123
Settings:
- Autoplay: Enabled
- Muted: Enabled
- Loop: Enabled
- Controls: Disabled
- Width: 100%
Tutorial Video
URL: https://vimeo.com/tutorial456
Settings:
- Autoplay: Disabled
- Controls: Enabled
- Color: #4F46E5
- Width: 100%
- Max Width: 600px
- Alignment: Center
Testimonial Video
URL: https://www.youtube.com/watch?v=review789
Settings:
- Autoplay: Disabled
- Controls: Enabled
- Related: Hidden
- Border Radius: 8px
- Shadow: 0 4px 12px rgba(0,0,0,0.1)
Best Practices
- Don't autoplay with sound — Browsers block it and users dislike it
- Provide controls — Let users control playback
- Optimize for mobile — Use responsive sizing
- Consider load time — Videos add page weight
- Hide related videos — Keep users focused
- Use thumbnails — Custom thumbnails increase clicks
Accessibility
- Provide captions/subtitles in the video
- Don't rely solely on video for critical information
- Allow users to control playback