Media · Elementor

Sticky Video widget for Elementor

Sticky Video is an Elementor widget in King Addons. Enable it under King Addons → Dashboard if it is off, then search for “Sticky Video” in the Elementor panel.

Get King Addons

This page describes the PHP/JS for this widget — not a renamed stub. Install the free plugin from WordPress.org.

Get King Addons

What it actually does

Sticky Video is an Elementor widget in King Addons. Enable it under King Addons → Dashboard if it is off, then search for “Sticky Video” in the Elementor panel.

render() writes HTML data attributes: data-delay-ms, data-device, data-offset-x, data-offset-y, data-persist-close, data-persist-hours, data-position, data-show-close.

Visitor state is stored in localStorage, not in post meta.

How to add it in Elementor

  1. Install King Addons. Install Elementor and King Addons. Get King Addons from WordPress.org.
  2. Edit with Elementor. Open a page and click Edit with Elementor.
  3. Insert the widget. Search the panel for “Sticky Video”. Typing “king” lists every King Addons widget.
  4. Set inspector controls from this widget’s PHP. Configure “Source”, “YouTube Video ID”, “Vimeo Video ID”, “Self-Hosted Video”. Style and Content tabs are listed on this page.

When to use it

Tip: After King Addons is active, type king in the Elementor search box to list every widget, including Sticky Video.

Inspector controls from this widget’s PHP

ControlWhat the code does
Video — SourceThe chosen value is read in render() and applied on the front end. Options: YouTube (ID); Vimeo (ID); Self-Hosted.
Video — YouTube Video IDUse the ID from the YouTube URL (after v=).
Video — Vimeo Video IDUse the numeric ID from the Vimeo URL.
Video — Self-Hosted VideoMedia Library attachment(s); render() uses the URL/ID as the image source.
Video — Start Time (seconds)Numeric value used in this widget’s render/JS (default 0, min 0, max 3600).
Video — AutoplayPassed through to Swiper autoplay.
Video — MuteSwitcher inspector control (`kng_muted`).
Video — LoopSwitcher inspector control (`kng_loop`).
Video — Show ControlsSwitcher inspector control (`kng_show_controls`).
Video — Label (optional)Printed in the widget HTML from render().
Video — Show Close ButtonSwitcher inspector control (`kng_show_close`).
Layout — PositionThe chosen value is read in render() and applied on the front end. Options: Bottom Right; Bottom Left.
Layout — WidthWrites CSS `max-width` onto the widget’s front-end markup. (min 200, max 640).
Layout — Horizontal OffsetSpacing/size control (min 0, max 200).
Layout — Vertical OffsetSpacing/size control (min 0, max 200).
Layout — Aspect RatioThe chosen value is read in render() and applied on the front end. Options: 16:9; 4:3; 1:1; 9:16.
Container — BackgroundWrites CSS `background-color` onto the widget’s front-end markup.
Container — BorderElementor border group: type, width, color, and radius when the group includes it. Selector: `{{WRAPPER}} .king-addons-sticky-video`.
Container — Border RadiusWrites CSS `border-radius` onto the widget’s front-end markup. (min 0, max 40).
Container — Box ShadowElementor box-shadow group for the selector. Selector: `{{WRAPPER}} .king-addons-sticky-video`.
Label — TypographyElementor typography group: family, size, weight, transform, style, decoration, line-height, letter-spacing. Selector: `{{WRAPPER}} .king-addons-sticky-video__label`.
Label — Text ColorWrites CSS `color` onto the widget’s front-end markup.
Close Button — Icon ColorWrites CSS `color` onto the widget’s front-end markup.
Close Button — BackgroundWrites CSS `background-color` onto the widget’s front-end markup.
Close Button — RadiusWrites CSS `border-radius` onto the widget’s front-end markup. (min 0, max 20).

Content and Style tabs from this widget’s PHP, including repeater fields and group controls (typography, background, border, shadow). Elementor’s Advanced tab is core Elementor and is not listed here.

FAQ

What does Sticky Video actually change on the page?

Sticky Video is an Elementor widget in King Addons. Enable it under King Addons → Dashboard if it is off, then search for “Sticky Video” in the Elementor panel. Inspector labels from this widget’s PHP include “Source”, “YouTube Video ID”, “Vimeo Video ID”, “Self-Hosted Video”.

How do I add Sticky Video in Elementor?

Install King Addons and Elementor, edit a page, search the panel for “Sticky Video”, drag it onto the canvas, then set Content and Style.

Do I need Elementor Pro?

No. King Addons runs on free Elementor. Some King Addons options (for example template-in-accordion, extra popup conditions, parts of the template catalog) need King Addons Pro — not Elementor Pro.

Related media widgets

Get King Addons

One free plugin. 80+ Elementor widgets, 650+ templates, and 4,000+ sections. Search for Sticky Video after you activate it.

Get King Addons