---
title: "How to Add Videos in WordPress?"
url: https://nexterwp.com/docs/add-videos-in-wordpress/
date: 2024-12-11
modified: 2026-09-15
lang: en
author: "Aditya Sharma"
description: "A video dropped straight onto a page brings the whole of YouTube with it — its cookies, its branding and its suggestions for what to watch next. The Video block..."
image: https://nexterwp.com/wp-content/uploads/2024/12/How-to-Add-Videos-in-WordPress_-1024x519.jpg
word_count: 674
---

# How to Add Videos in WordPress?

## Key Takeaways

- Nexter Blocks Video block is free and appears under Nexter > Blocks in the WordPress dashboard, with YouTube, Vimeo, or MP4 in the Media Library as valid sources.
- YouTube ID requires only the part of the URL after v=, and Player Settings control autoplay, mute, loop, controls, branding, and privacy.
- Privacy Mode switches the embed to youtube-nocookie.com and stops YouTube setting tracking cookies before anyone presses play.
- Custom Layout shows a click-to-load thumbnail with no iframe until the visitor clicks, while Enable Schema Markup works only when Custom Layout is on.

A video dropped straight onto a page brings the whole of YouTube with it — its cookies, its branding and its suggestions for what to watch next.

The Video block gives you the same embed with control over all three, or lets you host the file yourself.

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/wordpress-video-player/)

## Before You Start

- **Edition:** **Free** — the Video block is in the free Nexter Blocks plugin.- **Block to enable:** Video, switched on under **Nexter > Blocks** in your WordPress dashboard.- **The video ready:** a YouTube or Vimeo id, or an MP4 in your Media Library.

https://www.youtube.com/watch?v=2FVjpQXJ_qs&pp=0gcJCbIJAYcqIYzv

## Steps

- Add the **Video** block to your page and click **Design from Scratch**.

- Set **Source** to **YouTube**.

![The Source setting with YouTube, Vimeo and Self Hosted](https://nexterwp.com/wp-content/uploads/2026/09/video-source.webp)

- Paste the video's id into **YouTube ID** — the part of the URL after `v=`, not the whole address.

![The YouTube ID field](https://nexterwp.com/wp-content/uploads/2026/09/video-youtube.webp)

- In **Player Settings**, decide what the player shows and whether it starts on its own.

![The Player Settings panel](https://nexterwp.com/wp-content/uploads/2026/09/video-player.webp)

- Switch on **Privacy Mode**.

![The Privacy Mode toggle](https://nexterwp.com/wp-content/uploads/2026/09/video-privacy.webp)

- In **Accessibility**, write an **Iframe Title** describing the video.

![The Iframe Title field](https://nexterwp.com/wp-content/uploads/2026/09/video-a11y.webp)

- Publish and check the player.

> ***Privacy Mode** switches the embed to **youtube-nocookie.com** — measured on the rendered page. It stops YouTube setting tracking cookies before anyone presses play, which is the single most useful toggle here for anyone with a cookie notice.*

## Where the Video Can Come From

| Source | What renders | Guide |
| ------ | ------------ | ----- |
| YouTube | A YouTube embed | [Embed a YouTube video](https://nexterwp.com/docs/embed-a-youtube-video-in-wordpress/) |
| Vimeo | A Vimeo embed | [Embed a Vimeo video](https://nexterwp.com/docs/embed-a-vimeo-video-in-wordpress/) |
| Self Hosted | A real HTML5 player using your own file | [Add a self-hosted video](https://nexterwp.com/docs/add-a-self-hosted-video-in-wordpress/) |

## What Each Panel Controls

| Panel | What you set there |
| ----- | ------------------ |
| Content | Where the video comes from and which video it is |
| Player Settings | Autoplay, mute, loop, controls, branding and privacy |
| Banner / Icon | A custom thumbnail and title, and whether the video opens in a popup |
| SEO Option | Search-engine markup describing the video |
| Accessibility | The title screen readers announce for the player |

## How It Behaves

- **Player Settings become parameters on the embed.** Measured: turning Controls and Video Info off and Modest Branding and Suggested Videos on produced `controls=0&showinfo=0&modestbranding=1&rel=1` on the YouTube URL.- **Autoplay brings mute with it.** With autoplay on, the embed gained `autoplay=1` and the iframe an `allow="autoplay"` permission — but browsers only honour it when the video is muted, which is why the two settings belong together.- **Custom Layout is a click-to-load thumbnail.** With it on, the page shows your own image, title and description and **no iframe at all** — nothing is requested from YouTube until the visitor clicks. Measured on the front end.- **Iframe Title**, in the Accessibility panel, names the player for screen readers. Left blank it renders as *My Video* on every video on the site — confirmed on the front end — so it is worth setting.- **Self Hosted renders a real HTML5 player** — a `<video controls>` element pointing at your file, with no third party involved at all.

## Limitations

- **Play on Popup needs the Banner / Icon panel.** **Play on Popup only works with the Banner / Icon panel.** On its own it does nothing See [the video popup guide](https://nexterwp.com/docs/create-a-video-popup-in-wordpress/).- **Enable Schema Markup only works with Custom Layout on.** With the normal player it produced no markup at all — measured. It also writes microdata rather than the JSON-LD most SEO plugins use, and its upload date is a readable string rather than a machine-readable one.- The block takes a video *id*, not a full URL, for YouTube and Vimeo.- Autoplay is refused by browsers unless the video is muted. That is the browser's rule, not the block's.- One video per block.

## Troubleshooting

### The player is blank

Check you pasted the **id** rather than the whole URL — for YouTube that is the part after `v=`.

### Autoplay does not autoplay

Switch **Mute** on as well. Browsers block sound-on autoplay.

### The popup does not open

**Play on Popup** needs **Custom Layout** switched on, or the Layout set to the icon-only option. On its own it does nothing.

### I switched schema on and nothing appeared

It only writes markup in the **Custom Layout** mode. Switch Custom Layout on and give the video a title and description.

### The block is missing from the inserter

Switch **Video** on under **Nexter > Blocks** in your dashboard.

![Video switched on in the Nexter Blocks list](https://nexterwp.com/wp-content/uploads/2026/09/video-admin-enable.webp)

## Related Docs

- [Embed a YouTube video](https://nexterwp.com/docs/embed-a-youtube-video-in-wordpress/)- [Embed a Vimeo video](https://nexterwp.com/docs/embed-a-vimeo-video-in-wordpress/)- [Add a self-hosted video](https://nexterwp.com/docs/add-a-self-hosted-video-in-wordpress/)- [Create a video popup](https://nexterwp.com/docs/create-a-video-popup-in-wordpress/)

## Frequently Asked Questions

**Q: What do I need before adding a video in WordPress with Nexter Blocks?**
A: Nexter Blocks keeps the setup light, but the Video block still needs the right source ready first. The page says the free edition includes the block, it must be switched on under Nexter &gt; Blocks, and you need either a YouTube or Vimeo id or an MP4 in your Media Library. That matters because the block is built around a source-specific embed or player, not a full URL pasted at random.

**Q: Should I use YouTube, Vimeo, or a self-hosted file for a WordPress video?**
A: The choice depends on where you want the video to come from. YouTube and Vimeo render as embeds, while Self Hosted renders a real HTML5 player using your own file. That makes Self Hosted the cleanest option when you want no third party involved at all, while YouTube and Vimeo are better when you already have an id for an existing hosted video. The page also links separate guides for each source.

**Q: Why is my WordPress video player blank?**
A: A blank player usually means the wrong input was pasted. For YouTube, Nexter Blocks wants the video id, not the full URL, specifically the part after v=. The same idea applies to Vimeo: the block takes an id, not a full address. That small detail is easy to miss because the embed settings look fine even when the source value is wrong.

**Q: Why does autoplay not work on my WordPress video?**
A: Autoplay only works when mute is on. The page says autoplay brings mute with it, and browsers only honor autoplay when the video is muted. In practice that means sound-on autoplay gets blocked by browser policy, not by Nexter Blocks itself. If you want a video to start automatically, treat mute as part of the same setup rather than an optional extra.

**Q: How do I stop YouTube cookies and branding from showing on an embedded video?**
A: Privacy Mode is the key toggle here. Nexter Blocks switches the embed to youtube-nocookie.com on the rendered page, which stops YouTube setting tracking cookies before anyone presses play. The page also says Player Settings can control branding and suggested videos, so this is useful when you want less YouTube baggage on a page that still uses a YouTube embed.

**Q: What is the best way to add a clickable video thumbnail with schema in WordPress?**
A: Custom Layout is the right choice when you want a click-to-load thumbnail instead of an always-loaded iframe. With it on, the page shows your image, title, and description first, and nothing is requested from YouTube until someone clicks. Schema markup also only works in Custom Layout mode, so this setup is better when you care about both lighter front-end loading and search-engine markup.
