This article was originally published on this site

WordPress Deals

Would you like to embed a YouTube video into a WordPress post or page using the new WordPress editor? Then you’ve come to the right place.

In this tutorial we will show you how the steps necessary to insert a YouTube video into your content with the new WordPress editor using one of three ways.

Let’s get started…

Method 1: Embedding a YouTube Video the The Easy Way

The simplest way to embed a YouTube video is to use copy and paste.

Step 1: Copy the the YouTube Video URL

In order to embed any YouTube on your website, you need to know the URL of the video.

One way to acquire this is to click on the “Share” button that is displayed underneath each YouTube video. This will load up a box which shows the video URL. Alternatively, you can just copy the video URL from your browser.

Copy YouTube URL

Step 2: Paste the YouTube Video URL

One of the best things about the new WordPress editor is that it makes the process of adding content simpler.

When you add a new post or page in WordPress, you will see a message to “Start writing or type / to choose a block” (If the page already has content, this message will be displayed at the bottom of the canvas area).

You may already know that if you start typing in this field, WordPress will automatically create a “Paragraph” block. What many people might not know is that you can easily embed a YouTube video this way too.

Start Writing

All you have to do to embed a YouTube video is paste your YouTube video URL into the “Start Writing” box.

WordPress will automatically create a new YouTube content block using the video URL you pasted into the content area.

Your Video is Now Displayed On Your Page

This is the quickest way of embedding YouTube videos into a WordPress post or page, but there are alternative methods.

Method 2: Embedding a YouTube Video Using the YouTube Block

YouTube videos can also be inserted into posts and pages using the YouTube block.

Step 1: Copy the the YouTube Video URL

Copy the URL of your YouTube video. You can do this by copying the URL in your browser or by using the “Share” button that is displayed underneath each YouTube video.

Copying the YouTube Video URL Using the Share Button

Step 2. Click on the “(+) Add Block” Button

In the WordPress editor, click on the (+) symbol at the top-left hand side of the page. This loads up all available content blocks.

Click on the Add Block Button

Step 3. Select the YouTube Block

Select the YouTube block from the “Embeds” section of blocks. You can also find the YouTube block by searching for YouTube in the search box at the top of the block list.

Select the YouTube Block

Step 4. Enter Your YouTube Video URL

Enter the URL of your YouTube video and then click on the “Embed” button. Doing this will embed your YouTube video into your post or page.

Enter the URL of Your YouTube Video

Method 3: Embedding a YouTube Video Using the Video Block

The WordPress video block can also be used to insert videos.

Step 1: Copy the the YouTube Video URL

Copy the URL of your YouTube URL. You can copy the URL from your browser or by clicking on the “Share” button that is displayed underneath the video.

Copy YouTube URL

Step 2. Click on the “(+) Add Block” Button

Click on the (+) symbol at the top-left hand side of the page to load all available blocks.

Click on the Add Block Button

Step 3. Select the Video Block

Select the video block from the “Common Blocks” section of the block list. Alternatively, you can find this block by searching for “Video” in the search box at the top.

Select the Video Block

Step 4. Enter Your YouTube Video URL

Click on “Insert From URL” button and paste your YouTube video URL into the field. When you click on the return button, your YouTube video will be embedded into your WordPress post or page.

Enter Your Video URL

Frequently Asked Questions

What About the Embed Block?

The embed block works the same way as the YouTube block. It simply requests your YouTube video URL and then creates a YouTube block from it.

Emed Your YouTube Video URL

Which Method of Embedding YouTube Videos is Best?

Neither method is better. Each method will create a YouTube block from the video URL, therefore the way you create the block is irrelevant.

How Do You Add a Caption?

A caption can be entered underneath your video.

The caption text can be formatted in a number of ways. You can use bold, italic, code and strikethrough. Text can be converted into links too and you can insert inlne images.

Edit the Caption for Your YouTube Video

How Do You Change the Alignment and Width of Videos?

When you click on the YouTube block, a number of alignment and width buttons will be displayed at the top of the WordPress editor.

From here you can align the video to the left, centre or right. Videos can also be made wide-width or full-width.

Adjust the Alignment and Width of Your YouTube Video

Can I Change the URL of the YouTube Video?

Yes you can.

All you have to do is select the YouTube block and then click on the pencil icon at the top of the WordPress editor. This will allow you to enter the video URL again.

Edit Your Video URL

Pretty easy! Any questions?

Kevin Muldoon is a professional blogger with a love of travel. He writes regularly about internet marketing on his personal blog and actively talks about technology on YouTube.