Embedding YouTube Videos
To embed a YouTube video in a post, simply copy the URL of the video, or get the embed URL from YouTube, and place it in an embed code like this:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[youtube url="http://www.youtube.com/watch?v=07ds8iv1XPM"] |
The embed is responsive by default. It’ll appear like this:
You can specify the width and height if you'd like as well, as you can see below.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[youtube url="http://www.youtube.com/watch?v=TRmdXDH9b1s" width="100%" height="400"] |