The Preferred Method for Embedding Youtube Videos
I’ve had a few clients who asked about embedding youtube videos in WordPress. WordPress makes it very easy to embed a plethora of media types right from the editor, Youtube being one of them. The full list of media embeds built into WordPress can be found here). My clients were having a few issues where only the link was showing in the post/page and not the embedded video. I thought I’d outline the preferred Youtube/Wordpress method for embedding. Thanks to my friend and client, John Bair of Bair Knuckle Strength, for letting me use his site for the examples.
Get the Youtube Link
For Youtube videos you shouldn’t just copy the link from your browser’s address bar. While it “may” work, there are cases with the crazy characters in the url that you end up just pasting in a link. On your Youtube video page, you should utilize the share button (pictured below).
When you click on that button you’ll be presented with a shortened/sharable link. This is the link you should supply to WordPress.
Embedding in WordPress
After you copy that link, head over to your Wordpress page/post and you’ll hit the Add Media button in the upper left. Then click Insert from URL and paste in the link you copied from Youtube.
When it’s successful, you’ll get a preview of the embedded video (shown above). If there’s an error, you’ll know right away. When successful, you can click the Insert into Page button on the bottom right .
Now go out there, record your Youtube videos, and start embedding in WordPress.