Embedding YouTube Videos from Playlists Into Wordpress

To show videos on your Wordpress site, you can copy and paste the address for the video into your post. But while working with a client this past Wednesday, we discovered a problem. If the video is part of a YouTube playlist, Wordpress shows the playlist instead of the individual video.

The solution is to copy and paste only the address for the video, without the playlist, but YouTube doesn’t make that easy.

The Manual Solution (Advanced)

Example YouTube address

To do it manually, you need to copy the text in blue. You want everything up to but not including the & symbol (called an ampersand). And there are some addresses that have the v=blahblah farther on in the address. In short, it’s a nuisance to have to do this.

The Simpler Way

To make it easier for you, I wrote a bookmarklet or utility bookmark that gets the URL for you. This will work on any YouTube video, whether it is part of a playlist or not.

How to Install the Bookmarklet

Installing the bookmarklet

Before you can use the bookmarklet, you have to drag it to your bookmarks toolbar. You can see me installing it above.

Here is the bookmarklet to drag to your bookmarks toolbar.

YouTube Link

Note: You may need to show the bookmarks toolbar first. If you’re using Chrome or Internet Explorer, Ctrl+Shift+B will do it. If you’re using Firefox, follow these instructions.

Embedding a YouTube Video

New Wordpress Post

To add a video to your Wordpress site, create a new post or page in Wordpress.

YouTube address dialog

Next, go to the YouTube video you want to add and click the YouTube Link bookmarklet. This will show the dialog above. Hit Ctrl+C to copy the address (or right-click and choose Copy), then click the OK button.

Wordpress Post with video link

Return to Wordpress and hit Ctrl+V (or right-click and select Paste).

Wordpress Post with video embedded

That’s it. Your YouTube video is now shown on the page.

August 1, 2014
312 words
2 minute read

Categories

Tech Help Newsletter