Saturday, July 13, 2024

YOUTUBE | Add a YouTube Video in Artcle

Table of Contents

First, copy the YouTube video’s URL from your web browser’s address bar while viewing the video. Videos on YouTube typically use the URL format: https://www.youtube.com/watch?v=a1b2c3d4e5

A YouTube link in a browser’s address bar

To quickly add the video to any page of your site, paste the URL on a new line in the WordPress editor. The link will automatically turn into an embedded YouTube video player:

GIF showing the process of pasting a YouTube link, and it automatically turns into a video player.
Quickly embed a YouTube video by pasting the video URL on a new line

Support is included for standard YouTube videos, YouTube playlists, and live streams.

If you wish to add a YouTube link without it turning into an embedded player, type some text before the URL like we’re doing in this very sentence: https://www.youtube.com/watch?v=oAT4e8vP6pk. The link will only turn into an embedded player if it is on its own line with nothing else. Alternatively, you can add the link between two backtick symbols ` and it will appear like this:

YouTube also provides an iframe embed option, which you can insert via a Custom HTML block.

Add a YouTube Block #

Alternatively, you can first add a YouTube block. To add the YouTube block, click on the + Block Inserter icon and search for “youtube”. Click it to add the block to the post or page. Paste the YouTube URL in the box provided and click Embed.

Using your keyboard, you can also type /youtube on a new line and press enter to quickly add a new YouTube block.

Adding a YouTube block using the slash inserter.
Adding a YouTube block with the slash inserter.

Powered by BetterDocs

Leave a Reply

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

Welcome Back!

Login to your account below

Create New Account!

Fill the forms below to register

Retrieve your password

Please enter your username or email address to reset your password.