Docs

Shortcode reference.

Plugin v1.0.1

[entronn_player] Shortcode Reference

Covers Entronn Video Player v1.0.1+. For setup guides, see the main Documentation.

Basic Usage

At minimum, the shortcode needs a video source. It works with either an HLS playlist or a plain MP4 file:

[entronn_player src="https://example.com/video/master.m3u8"]

Attributes are added as key="value" pairs inside the shortcode, in any order.

Attribute Reference

AttributeTypeDefaultDescription
srcURLHLS .m3u8 playlist or MP4 file. Required.
posterURLnoneThumbnail image shown before playback starts.
subtitleURLnoneWebVTT (.vtt) caption track. Repeat the attribute for multiple tracks.
autoplay0 / 10Starts playback automatically. Browsers require muted="1" alongside autoplay.
loop0 / 10Restarts playback automatically when the video ends.
muted0 / 10Starts the player muted.
accenthex colortheme defaultOverrides the play-button and progress-bar accent color for this embed only.
ad_prerollURL / VAST tagnoneAd shown before the video starts. Pro
ad_midrollURL / VAST tagnoneAd shown at a timed point during playback (paired with ad_midroll_at). Pro
ad_midroll_atsecondsnonePlayback timestamp at which the mid-roll ad plays.
ad_postrollURL / VAST tagnoneAd shown after the video ends. Pro
ad_skipseconds5Countdown before the skip button appears on a skippable ad.
ad_skippable0 / 11Set to 0 to make an ad non-skippable.
sponsor_labelstringnoneLabel text for an optional sponsor button shown during ads.
sponsor_urlURLnoneDestination link for the sponsor button.
analytics0 / 11Opts this embed out of play/watch-time tracking when set to 0. Business

Examples

A video with a poster image and captions:

[entronn_player src="…/master.m3u8" poster="…/thumb.jpg" subtitle="…/en.vtt"]

Muted autoplay, looping — typical for a hero background video:

[entronn_player src="…/master.m3u8" autoplay="1" muted="1" loop="1"]

A video with a skippable pre-roll ad and a sponsor button:

[entronn_player src="…/master.m3u8" ad_preroll="…/ad.mp4" ad_skip="5" sponsor_label="Visit sponsor" sponsor_url="https://example.com"]

URL Parameters

To restyle a single embed without editing the shortcode — useful for a campaign link or an A/B test — append color parameters to the page URL itself. They apply to Entronn players rendered on that page view only, and don't change your saved theme settings:

?entronn_color1=%233f51b5&entronn_color2=%237c4dff

If a page has more than one player embed, the override currently applies to all of them.

Automatic <video> Upgrade

If a post already contains a standard HTML <video> tag, Entronn detects it at render time and upgrades it to the full player automatically — no need to replace it with a shortcode. The src, poster, and any <track> elements on the original tag carry over; attributes not expressible on a plain <video> tag (ads, accent overrides) fall back to your global defaults.

Need setup steps instead of an attribute list? Head back to the Documentation.