Video Element
The Video element embeds a video player on your page, supporting various video sources including YouTube.
Overview
Video is ideal for:
- Product demonstrations
- Tutorial content
- Promotional videos
- Educational materials
- Any video content
Adding a Video Element
- Open the Website Builder
- Find Video in the Elements panel
- Drag it onto your page
- Configure the video URL in the General Tab
Properties
General Tab
| Property | Description |
|---|---|
| Video URL | URL of the video to play |
| Auto Play | Start playing automatically |
| Loop | Repeat video when finished |
| Muted | Start with audio muted |
| Controls | Show player controls |
| Ratio | Video aspect ratio |
Playback Options
| Option | Description |
|---|---|
| Auto Play | Video starts when page loads |
| Loop | Video repeats continuously |
| Muted | Audio is off by default |
| Controls | Play/pause, volume, fullscreen |
Dimensions Tab
| Property | Description |
|---|---|
| Width | Player width |
| Height | Player height |
| Border Radius | Corner rounding |
Supported Sources
The video element uses ReactPlayer and supports:
| Source | Example |
|---|---|
| YouTube | https://www.youtube.com/watch?v=... |
| MP4 | https://example.com/video.mp4 |
| WebM | https://example.com/video.webm |
| Vimeo | https://vimeo.com/... |
| Other | Most common video formats |
Use Cases
Product Demo
URL: https://youtube.com/watch?v=demo123
Auto Play: false
Controls: trueBackground Video
URL: https://yoursite.com/bg-video.mp4
Auto Play: true
Loop: true
Muted: true
Controls: falseTutorial
URL: https://youtube.com/watch?v=tutorial
Auto Play: false
Controls: truePromotional
URL: https://youtube.com/watch?v=promo
Auto Play: false
Controls: trueAspect Ratios
Common video aspect ratios:
| Ratio | Use Case |
|---|---|
| 16:9 | Standard widescreen |
| 4:3 | Older standard format |
| 1:1 | Square videos |
| 9:16 | Vertical/mobile videos |
Empty State
When no URL is provided, the element displays a video icon placeholder.
Best Practices
Use appropriate dimensions - Match video aspect ratio
Consider autoplay carefully - Can annoy users, mute if autoplaying
Show controls - Let users pause/adjust
Optimize for mobile - Test on smaller screens
Host efficiently - Use YouTube/Vimeo for better streaming
Provide context - Add text explaining the video content
Questions?
If you have any questions, please don't hesitate to contact us. Alternatively, you can submit an issue on this platform.
Useful Links:
Web Elements - https://help.acenji.com/#/./create-web-application/elements/index Image - https://help.acenji.com/#/./create-web-application/elements/image/index