How to embed a YouTube video in WordPress
You already have a YouTube video. You just want it inside your WordPress post without breaking anything. Here’s the clean, step-by-step way. No tricks.
Method 1: Embed YouTube video by pasting the link (fastest)
-
Log in to your WordPress dashboard.
-
Go to Posts and open the post where you want the video.
-
Open YouTube in a new tab.
-
Copy the full video URL from the browser bar.
-
Come back to WordPress.
-
Click on a blank line in the post content.
-
Paste the link.
-
Press Enter.
The video appears automatically.
Method 2: Embed YouTube video using the YouTube block
-
Open your WordPress post.
-
Click the + icon to add a block.
-
Search for YouTube.
-
Select the YouTube block.
-
Paste the YouTube video link into the field.
-
Click Embed.
-
Update or publish the post.
Method 3: Embed YouTube video using embed code
-
Open YouTube.
-
Open the video you want.
-
Click Share below the video.
-
Click Embed.
-
Copy the code shown.
-
Go back to WordPress.
-
Open your post.
-
Click the + icon.
-
Select Custom HTML.
-
Paste the embed code.
-
Preview the post and publish.
Do not change the code.
Method 4: Embed YouTube video in Classic Editor
-
Open the post in Classic Editor.
-
Paste the YouTube link on a new line.
-
Save or update the post.
The video converts automatically.
Method 5: Embed YouTube video inside a page or widget
-
Go to Appearance → Widgets.
-
Add a Custom HTML block.
-
Paste the YouTube embed code.
-
Save.
This works for sidebars and footers.