WordPress: Mutiple Youtube Embeds

You need to use shortcodes to have multiple WordPress embeds in a single post. See the examples below:

This won’t work:

Part 1

http:///www.youtube.com/watch?v=n7KQ4vkiNUk

Part 2

http:///www.youtube.com/watch?v=3qmtwa1yZRM

Part 3

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

Part 4

http:///www.youtube.com/watch?v=9blgOboiGMQ

NPR’s Scott Simon: How to Tell a Story

http:///www.youtube.com/watch?v=tiX_WNdJu6w

This will work (you must use shortcodes):

Part 1

[youtubes=http://www.youtube.com/watch?v=n7KQ4vkiNUk]

Part 2

[youtubes=http://www.youtube.com/watch?v=3qmtwa1yZRM]

Part 3

[youtubes=http://www.youtube.com/watch?v=-hidvElQ0xE]

Part 4

[youtubes=http://www.youtube.com/watch?v=9blgOboiGMQ]

NPR’s Scott Simon: How to Tell a Story

[youtubes=http://www.youtube.com/watch?v=tiX_WNdJu6w]

WordPress states:

> To quickly embed a YouTube video, simply copy the video’s URL from your web browser’s address bar while viewing the video:

For more information see http:///en.support.wordpress.com/videos/youtube/

###NOTE##
To make the code compatible with this post I have changed `http://` to `http:///` in the first section and `youtube` to `youtubes` in the second section. Please change accordingly.

Related Posts:

  • No Related Posts
This entry was posted in Tech Tips, Web Development and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *