How to embed YouTube video in WordPress?

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)

  1. Log in to your WordPress dashboard.

  2. Go to Posts and open the post where you want the video.

  3. Open YouTube in a new tab.

  4. Copy the full video URL from the browser bar.

  5. Come back to WordPress.

  6. Click on a blank line in the post content.

  7. Paste the link.

  8. Press Enter.

The video appears automatically.

Method 2: Embed YouTube video using the YouTube block

  1. Open your WordPress post.

  2. Click the + icon to add a block.

  3. Search for YouTube.

  4. Select the YouTube block.

  5. Paste the YouTube video link into the field.

  6. Click Embed.

  7. Update or publish the post.

Method 3: Embed YouTube video using embed code

  1. Open YouTube.

  2. Open the video you want.

  3. Click Share below the video.

  4. Click Embed.

  5. Copy the code shown.

  6. Go back to WordPress.

  7. Open your post.

  8. Click the + icon.

  9. Select Custom HTML.

  10. Paste the embed code.

  11. Preview the post and publish.

Do not change the code.

Method 4: Embed YouTube video in Classic Editor

  1. Open the post in Classic Editor.

  2. Paste the YouTube link on a new line.

  3. Save or update the post.

The video converts automatically.

Method 5: Embed YouTube video inside a page or widget

  1. Go to Appearance → Widgets.

  2. Add a Custom HTML block.

  3. Paste the YouTube embed code.

  4. Save.

This works for sidebars and footers.

Facebook
Twitter
LinkedIn
Pinterest

Table of Contents