DailyMotion
The DailyMotion shortcode for WordPress can be used to embed a DailyMotion hosted video into a page or post. The shortcode comes with several settings like video width, autoplay, mute or alignment. Check below for example implementations and shortcode documentation:
DailyMotion Examples
DailyMotion Shortcodes
DailyMotion Shortcode
[x3m-dailymotion url="https://www.dailymotion.com/video/x9hpvfs" width="100%" autoplay="no" align="center" mute="no"]DailyMotion Documentation
Here are the shortcode option settings available for DailyMotion:
| Shortcode Settings | Details |
|---|---|
| url=”dailymotion link” | This is used to set link of the DailyMotion video. |
| maxwidth=”100%” | This is used to define the maximum width of the DailyMotion video container in percentage (ex “100%”). |
| autoplay=”yes” | This is used to set video to start playing on page load or not. To automatically start playing, set the autoplay option to “yes”. The other option is “no”. |
| align=”center” | This is used to set the video container alignment. For the cases when the video width is lower than that of the page, the video can be aligned “left”, “center” or “right”. |
| mute=”no” | This is used to set video sound to be on or off. Options available: “yes” or “no”.
If autoplay=”yes”, the mute option should be set to “yes” as well, otherwise the video playback will not start automatically. |