YouTube Shortcode

Display YouTube video in your pages and posts

Shortcode:

[youtube]

Attributes:

path
Should have the value of the path to a Youtube video taken from the embed code on the YouTube homepage.

width
Sets the width of the video

height
Sets the height of the video

Examples:

The following will display Vimeo video...

[youtube path="https://www.youtube.com/embed/vhx_wocfVxA" width="640" height="360"]
Back to Shortcodes »