Skip to content
Media CloudDocs
Video Player Shortcode
On this page

Video Player Shortcode

[mux_video]

1 min read·3 tags

[mux_video]

The [mux_video] shortcode allows you to insert a video player anywhere.

[mux_video id="1" autoplay="true" loop="true" muted="true" controls="false" inline="true" preload="metadata"]
ArgumentTypeDescription
idintegerThe attachment ID of the video to insert.
autoplaybooleanControls if the video should autoplay. Note that if muted is not set to false, the video will not autoplay in most browsers.
loopbooleanControls if the video should loop.
mutedbooleanInitially mutes the audio, usually used in conjunction with autoplay.
controlsbooleanDisplay playback controls.
inlinebooleanDisplay the video inline on mobile devices.
preloadstringThe data to preload before playback, valid values are: none, metadata, auto.

Need a hand with this guide?

Send support the exact step you’re stuck on and we’ll help you finish the setup.

Contact support
Start typing to search the docs

Escto close·⌘Kto open

View all results →