Embedding a video in WordPress 3.1 and later versions is even easier than before. Follow these easy steps to display your video on your website.
NOTE: for older versions of WordPress (up to version 3) please see this article on how to embed a YouTube video on your website using WordPress 3.0 and lower
Step 1: Open your Web Page
- Log into the admin area of your website.
- Go to Pages or Posts and find the article where you would like to display your video. Click on the title of the article or the Edit link so that you are in edit mode for the page.
- Click your cursor on the spot on the page where you would like to add your video.
- Now you’re all set – let’s go and get the video link from YouTube.
Step 2: Get your Video Link
- Open a new browser window or tab.
- Go to YouTube.com and find the video you would like to display on your website.
- Directly under the video you will see these buttons
- Click on the Share button.
- This opens up a box with some options to link to the video, embed, email, share on Facebook, Bebo, Google+, etc. We want to display the video on our website so we’re going to choose the Link to this video: option.
- Right click on the highlighed link and choose Copy. In this case my video link is http://youtu.be/I-a29LOMDTY
Step 3: Add the Video Link to your Page
- View the browser window / tab where your website and article is open in Edit mode.
- Make sure your cursor is clicked where you want to display the video.
- Paste the YouTube video link on the page (this is the link that we copied earlier in Step 2)
- That’s it! WordPress does the rest 🙂
Just a couple of things to note…
Your link must be on a line of it’s own.
For example:
Correct:
http://youtu.be/I-a29LOMDTY
Incorrect:
Watch my video here http://youtu.be/I-a29LOMDTY
Your video link must not have a hyperlink on it
For example:
Correct:
http://youtu.be/I-a29LOMDTY
Incorrect:
[…] Note: this method works up to WordPress version 3, from version 3.1 onwards the way to embed a YouTube video changed – please see this article for a guide on how to embed a YouTube video using WordPress 3.1+ […]