emcp_custom_184Built with the EMCP Widget Builder and registered under the EMCP Custom category of the Elementor panel. Search the panel for: video, youtube, vimeo, lightbox, play, poster.
Video URL appears when Source is youtube or vimeo; Video File appears when Source is hosted; Autoplay (muted, hosted only) appears when Source is hosted.Play Mode = inline
Play Mode = lightbox
Every control the widget exposes, grouped by panel section. Names in code are the setting keys used by the MCP tools (add-free-widget, update-widget).
Video
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Sourcesource | Dropdown | YouTube, Vimeo, Self-hosted (MP4 / WebM) | youtube | |
Video URLurl | Text | https://www.youtube.com/watch?v=XHOmB... | Shown when source = youtube or vimeo | |
Video Filefile | Image | Shown when source = hosted | ||
Poster Imageposter | Image | |||
Use YouTube Thumbnail When No Posterauto_poster | Toggle | on / off | yes | |
Play Modemode | Dropdown | Play in place, Open in lightbox | inline | |
Aspect Ratioratio | Dropdown | 16:9, 4:3, 1:1, 9:16 (vertical), 21:9 | 16/9 | |
Autoplay (muted, hosted only)autoplay | Toggle | on / off | Shown when source = hosted | |
Looploop | Toggle | on / off | ||
Start Mutedmuted | Toggle | on / off | ||
Show Player Controlscontrols | Toggle | on / off | yes | |
Start At (seconds)start | Number | min 0, max 36000 | 0 | |
Overlay Titletitle | Text | |||
Overlay Textdesc | Text | |||
Duration Badgeduration | Text | |||
Overlay Text Positiontext_pos | Dropdown | Bottom left, Bottom centre, Top left, Centre (under play), Below the video | bottom-left |
Play Button
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Styleplay_style | Dropdown | Filled circle, Pulsing circle, Outlined circle, Rounded square, Frosted glass, Pill with label, Icon only | circle | |
Labelplay_label | Text | Watch video | ||
Iconplay_icon | Icon | fas fa-play | ||
Zoom Poster on Hoverhover_zoom | Toggle | on / off | yes |
Box
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Radiusradius | Slider | min 0, max 80, px | 16 | |
Borderborder | Border | |||
Shadowshadow | Box shadow | |||
Max Widthmaxw | Slider | min 200, max 1600, px/% | ||
Poster Overlayoverlay | Color | rgba(16,24,40,0.25) | ||
Poster Overlay on Hoveroverlay_h | Color | rgba(16,24,40,0.4) | ||
Poster Filtersposter_filter | Css_filter |
Play Button
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Sizeplay_size | Slider | min 32, max 200, px | 76 | |
Icon Sizeplay_icon_size | Slider | min 10, max 100, px | 26 | |
Icon Colorplay_color | Color | #101828 | ||
Backgroundplay_bg | Color | #ffffff | ||
Hover Icon Colorplay_color_h | Color | #ffffff | ||
Hover Backgroundplay_bg_h | Color | #6a11cb | ||
Shadowplay_shadow | Box shadow | |||
Label Typographylabel_typo | Typography |
Text & Badge
| Option | Type | Choices / range | Default | Notes |
|---|---|---|---|---|
Title Typographytitle_typo | Typography | |||
Title Colortitle_color | Color | #ffffff | ||
Text Typographydesc_typo | Typography | |||
Text Colordesc_color | Color | rgba(255,255,255,0.85) | ||
Text Paddingtext_pad | Dimensions | |||
Badge Colorbadge_color | Color | #ffffff | ||
Badge Backgroundbadge_bg | Color | rgba(16,24,40,0.75) | ||
Below-video Text Colorbelow_color | Color | #101828 |
Any connected agent can place this widget: call add-free-widget with widget_type: "emcp_custom_184" and a settings object using the keys above. Run get-custom-widget with id 184 for the full JSON spec.