Marsha Docs

YouTube Shortcode

Embed YouTube Feed Shortcode Parameters

The parameters for the embed twitter feed shortcode:

  • RequiredID (id): Just get the ID of the YouTube video, you can easily do this by looking at the URL of the video. For example, https://www.youtube.com/watch?v=og5EzN2v1wE the id would be og5EzN2v1wE.

Embed YouTube Feed Shortcode Examples

Shortcode
HTML
[mu_youtube id="og5EzN2v1wE"]
<div class="relative h-0" style="padding-bottom: 56.25%;">
    <iframe class="absolute top-0 left-0 h-full w-full" src="https://www.youtube.com/embed/og5EzN2v1wE" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen="" width="560" height="315" frameborder="0"></iframe>
</div>
Copy Code to Clipboard
Copy Code to Clipboard