How to Use the YouTube Embed Block in WordPress (3 Simple Steps)

The YouTube Embed block in WordPress is a core block with the WordPress Gutenberg block editor. It lets you embed YouTube videos directly into your WordPress website.

You only need to provide the YouTube video link to embed that. Today, we will show the tutorial on “how to use the YouTube Embed block in WordPress” and its features.

Why WordPress YouTube Embed Block?

Embedding YouTube videos is an excellent way to enhance your WordPress content. It is a core WordPress block for adding YouTube videos to your website. There are several reasons for this block, and each is explained below.

  • Effortless Video Embedding: You will not be required to add HTML or shortcode to insert videos. All you need to do is paste the YouTube video’s URL.
  • Responsive Design: The block ensures videos adjust to different screen sizes automatically.
  • Playback Options: You can let videos play inline without redirecting visitors to YouTube.
  • Customizable Alignment: Adjust the position of the video with alignment options like left, center, and right.

Create Beautiful Tables
With Block Editor

Toolbar Features of the YouTube Embed Block

The detailed toolbar features of the YouTube Embed block are below.

  • Transform To: You can transform this block into Paragraph, Columns, Details, and Group blocks.
  • Drag: Allows you to drag and drop the dedicated block into any place.
  • Moving Handles: Let you move your block up and down in the editor to organize your content better.
  • Align: The align option lets you set the video alignment to None, Wide Width, Full Width, Left, Center, and Right.
  • Add Caption: You can add captions using the option.
  • Edit URL: This option allows you to see the inserted link, edit the link, insert a new link, etc.
  • Options: Offers more options related to the section of the block, such as duplicate, copy, group, etc.

How to Use the YouTube Embed Block in WordPress?

We will show you how to use the WordPress YouTube Embed block in some easy steps below. Make sure to follow us through!

Step 1: Insert the YouTube Embed Block

To insert the YouTube Embed block, head to your post or page.

Click the Add Block (“+“) icon (1), type “YouTube Embed” in the search box (2), and click “YouTube Embed” (3).

Insert your YouTube video link (1) and click the Embed button (2).

How to Use the YouTube Embed block in WordPress

After clicking the embed button, your video will be displayed in the editor.

Step 3: Customization

There is not much customization given to this block. However, you can access the block settings by navigating to Settings (1) > Block (2) > Settings (3). 

In the Settings menu, you will see the option of “Resize for Smaller Devices.” This option automatically resizes the video’s aspect ratio when viewed on smaller devices.

The Styles option allows you to set margins for the block.

So, that’s how you use the WordPress YouTube Embed block.


Final Thoughts!

Isn’t it easy to embed YouTube videos into your site using the YouTube Embed block? Let me know your thoughts in the comment section below.

Also, let your friends know about this awesome block through the social media option. Try this block and see how it transforms your content into something interactive.

Read More !



The Tableberg Team