This is one of the most popular videos in this series because it is one of the most talked-about features of WordPress. In this lesson, we will talk about embedding video into your WordPress posts or pages.
Embedding Video – Manual Method
This method was the most popular way to embed video into WordPress for years. Since WordPress 2.9+, you can now use a much simpler method with auto-embed which is explained below this section.
1) Upload your video to YouTube.
2) Once uploaded, view the video and use the following steps to get the embed code:
3) Below the above iframe code, you can adjust the width of the video for display on your blog.
4) Edit your WordPress post, click the “Text” tab in the upper right of your edit post screen, and paste the code where you want the video to display.
Embedding Video – Auto-Embed Method
WordPress continually updates their software to make things easier and embedding video into your WordPress page or post has been one of those enhancements added to their software since version 2.9.
- Go to the video you want to use.
- Copy the URL from the address bar in your browser (shown in video).
- Paste that URL into the “Visual” tab of your page or post.
- Save or update.
Using this method, WordPress will automatically fit the video’s width to your content’s maximum width. This takes the guesswork out of figuring out what widths to use when manually using the embed method.
WordPress supports the following sites for this auto-embed feature (source):
- blip.tv
- DailyMotion
- Flickr (both videos and images)
- FunnyOrDie.com (WordPress 3.0+)
- Hulu
- Instagram (WordPress 3.5+)
- Qik
- Photobucket
- PollDaddy
- Revision3
- Scribd
- SlideShare (WordPress 3.5+)
- SoundCloud (WordPress 3.5+)
- SmugMug (WordPress 3.0+)
- Twitter (WordPress 3.4+)
- Viddler
- Vimeo (note older versions of WP have issues with https embeds, just remove the s from the https to fix)
- YouTube (only public videos and playlists – “unlisted” and “private” videos will not embed)
- WordPress.tv (only VideoPress-type videos for the time being)
Now that you’ve learned about embedding video into your posts, let’s check out the WordPress Media Library.
Have questions about embedding video in WordPress? Leave a comment below.
Comment Policy: Please ask questions or post comments that are specific to this lesson. Please use your real name in your comment so that I can address you properly. Thanks!