[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.