How to Use the WordPress YouTube Block

How to Use the WordPress YouTube Block

The WordPress YouTube block is a free Gutenberg block by which you can embed videos from the YouTube streaming platform into your blog posts and pages. The block is available both on the Gutenberg and Classic editor.

In this short article, I will show you how to use the WordPress YouTube Block.

Step 01: Find and Add the YouTube Block to the Editor

In the Gutenberg block editor, click on the (+) block inserter icon. Search for YouTube in the block inserter and select the YouTube block. Add the block to the editor.

You can see the block is added to the editor.

The YouTube block is added to the editor

Step 02: Copy-Paste a YouTube Video Link to the Box

Go to Copy the URL of the YouTube video you like.

Copy a YouTube video URL

Paste the YouTube video URL into the box provided in the block. Hit the Embed button.

Paste the YouTube link to the block

You can see the YouTube video has been embedded to the editor.

YouTube video is embedded

Step 03: Customize the WordPress YouTube Block

Under the Settings tab on the right sidebar, toggle on the option Resize for smaller device. This will perfectly display your videos on small-sized mobile phones and devices.

Customize settings of the WordPress YouTube Block

Next, go to the Styles tab. If necessary, you can customize the margin to modify the dimension of the block.

Stylize the WordPress YouTube block

Thus, you can use the WordPress YouTube block on the Gutenberg editor.


You can use the WordPress YouTube block in various places on your website, such as blog posts, landing pages, product pages, or any other area where you want to include video content.

But always remember to follow the copyright laws and ensure that you have the necessary permissions to use the YouTube videos you embed on your website.

I hope this helps! Let me know in the comment section if you have any further questions.

My Recent Posts

Share Your Desired Topics!

I’ll Write Engaging Posts Based on Your Topic Suggestions.

Leave a Reply

Your email address will not be published. Required fields are marked *