Cloud Computing in WordPress for Youtube

Steps to add Youtube Video with Cloud Computing in WordPress

To quickly embed a YouTube video, simply copy the video’s URL from your web browser’s address bar and paste it on a line by itself in your post/page editor(without double quotes): “youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A”

The video will look something like this

If you’d like to customize the video’s size and settings, you’ll want to create a short code. To do so, copy the video URL. Paste the URL on a line by itself in your post/page editor. Then create a short code using the format below (without double quotes). Be sure to replace the URL listed here with the URL of your video.
“youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A”

You can specify the width and height of the embedded video by adding &w=… or &w=…&h=…to the short code. It will automatically adapt to your theme’s content length and give you preferred dimensions. You can disable related videos by appending &rel=0. You can turn on the search box by appending &showsearch=1

For example, following short code produces this video

“youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=640&h=385”

More Examples

To embed the video with default width and height adapted to your theme

youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A

To specify the width and height explicitly

youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=320&h=240

To specify the width only

youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&w=320

To hide the related videos from appearing after the video is done

youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&rel=0

To show the YouTube search box

youtube=http://www.youtube.com/watch?v=JaNH56Vpg-A&showsearch=1

Leave a Reply