New Check out the curated list of the finest design resources I've gathered for you! Take a look →

How to Embed a YouTube Video in Your WordPress Website

Many WordPress website owners often face the problem of embedding YouTube videos on their site. Thankfully, there is a solution that allows you to easily showcase your favorite videos. In this step-by-step guide, we will walk you through the process of embedding a YouTube video into your WordPress website.

Table of Contents

Step by Step

1. Access the YouTube video: Go to the YouTube website and locate the video you want to embed. Click on the share button below the video screen.

2. Copy the video’s URL: A sharing window will appear. Click on the “Embed” tab, then copy the provided URL.

3. Open your WordPress website: Log in to your WordPress Dashboard and navigate to the page or post where you want to embed the video.

4. Switch to the text editor: While editing the page or post, switch from the visual editor to the text editor. Look for the area where you want to insert the video.

5. Paste the video URL: In the text editor, paste the YouTube video URL that you copied earlier. Make sure to paste it in a new line or paragraph, as it will create a separate block for the video.

6. Adjust the video dimensions (optional): If you want to change the size of the embedded video, you can do so by adjusting the width and height attributes in the embed code. This step is optional.

7. Preview and publish: Save or update the page or post, then preview it to see the embedded YouTube video. If everything looks good, publish your changes to make the video visible to your visitors.


In summary, embedding a YouTube video in your WordPress website is a simple process that enhances your site’s visual experience and engages your visitors. By following these step-by-step instructions, you can easily display your favorite videos on your WordPress site.

Note: It’s important to respect copyright laws and ensure that you have the necessary permissions to embed the YouTube video on your website.

Rizwan Aritonang

An independent WordPress & Front-End Developer from Bandung, Indonesia.

Get In Touch

Leave a Comment