How to Embed a Video in

Videos are a great way to enrich your content, engage with your audience, and boost your sales. According to Moovly, you are 53 times more likely to show up on the first page of Google search results if you embed a video in Similarly, Wyzowl states that 90 percent of people watch videos on their mobile devices, which means that they’re great tools for reaching on-the-go audiences.

Considering the statistics above, there is no reason to be on the fence about featuring video content on your website. So, if you’ve been wondering how to embed a video in, this article is for you.

How to embed a video in allows you to embed videos from sites like YouTube, Vimeo, DailyMotion, Facebook, and others. All you have to do is copy the URL of the video you’d like to embed, add it to the Visual Editor, and make sure that it doesn’t turn into a hyperlink.

Embedding a video in post editor.
Embedding a video with a link

As you can see in the screenshot above, the video will immediately be visible within the post editor. A video embedded like this one will automatically adjust to the width of your content area.

You can also use a shortcode format to embed videos from certain sites, and customize the embedded video with shortcodes. Let’s see how to do that with an example using YouTube.

Customizing embedded YouTube videos using shortcodes

If you want to customize the width or the height of a YouTube video, you can do so by using a shortcode. A shortcode is a WordPress-specific code that you type into your text editor to format video, images, and other features.

Here’s how to embed and customize a video using a shortcode:

  1. Copy the video’s URL.

  2. Create a YouTube video shortcode using the following format:

  3. Then customize the video to display at a certain width and height by adding “&w=…” to specify a width, or “&w=…&h=…” to specify both the width and the height (measured in pixels). Example:


There are a number of other customizations that you can apply to embedded YouTube videos, like controlling the alignment of the video player, preventing related videos from displaying, and more.

It’s worth mentioning that you can embed videos into widgets along your sidebar or footer. You can use the Video Widget to paste the URL of the video there, or use the shortcode format and paste it into a Text Widget.

Similarly, you can embed and customize videos from other sites. offers detailed tutorials for using most major video platforms.

How to embed YouTube videos in using Media Explorer

If YouTube is your preferred video platform, you can embed videos directly from the Media Explorer. To get started, click on the Add Media button in the post editor. Then select Insert YouTube. Media Explorer Media Explorer

Search for videos by using keywords related to the topic that you’re writing about, or search for videos created by a specific user. In both cases, look for individual videos and playlists.

Once you find a video you like, select it and press the Insert button. The video will be embedded into your post.

Engage your audience with videos

Adding videos to your site is an excellent opportunity to engage with your audience and foster relationships with them — especially if you get in front of the camera and share informative content yourself. Use the above tips to help you get started with embedding videos into your site.

Thousands of small businesses and online stores call home.

Whether you’re looking to promote your business or share your story, we have a plan that’s right for you.

Create your own website


Brenda Barron

Brenda Barron is a freelance writer, editor, and SEO specialist from southern California. She is a contributor to The Motley Fool and blogs regularly at The Digital Inkwell.

More by Brenda Barron