Embed a YouTube Video in a Wordpress Post

01
of 05

Step 1 - Write Your Post in Wordpress

Embed a YouTube Video in Wordpress Step 1
© Automattic, Inc.

To add a YouTube video to a post in Wordpress, log into your Wordpress account and write a new post. Be sure to leave a blank line where you want the YouTube video to appear in the final, published post on your blog.

02
of 05

Step 2 - Switch to the HTML Editor View in Wordpress

Embed a YouTube Video in Wordpress Step 2
© Automattic, Inc.

When you're done entering the text for your post, select the "HTML" tab to switch to the HTML Editor view in Wordpress.

03
of 05

Step 3 - Find the YouTube Video that You Want to Embed in Your Wordpress Post

Embed a YouTube Video in Wordpress Step 3
© Automattic, Inc.

Open a new window in your browser, visit YouTube.com, and find the video you want to embed into your Wordpress post. Copy the HTML code in the text box labeled "Embed".

Notice that when you click in the Embed text box, the window may expand showing several options you can pick and choose from to customize the video's appearance within your blog post. For example, you can choose to show related videos, include a border, and change the size. It's up to you if you want to modify these settings or not. If you do change these selections, the code in the Embed text box will automatically update. Therefore, copy the Embed code after you make any customization changes.

04
of 05

Step 4 - Paste the Embed Code from YouTube into Your Wordpress Post

Embed a YouTube Video in Wordpress Step 4
© Automattic, Inc.

Return to the window where you have your Wordpress post open, and click within the HTML editor text box in order to place your cursor at the beginning of the first line where you want the YouTube video to appear within your final, published post. Paste the code here, and then select the "Publish" button on the right side of your screen to publish your post.

It's important to paste the Embed code just before you hit the Publish button. If you do anything else to your post after pasting the Embed code, the YouTube video may not appear correctly in your final, published post. If that happens, you'll have to return to the HTML editor, delete the code you pasted, re-paste it and republish your post.

05
of 05

Step 5 - View Your Live Post

Embed a YouTube Video in Wordpress Step 3
© Automattic, Inc.

Visit your blog to view your live post and ensure it published correctly. If not, return to Step 3 and repeat the copying and pasting of the Embed code and republish your post.