How to Embed a Video in WordPress

Last updated on by admin

A video can be a great way to illustrate your content. There are many WordPress plugins out there to embed a video in a post/page. Some of them can be used to embed a video from a video-sharing site such as YouTube, Vimeo, Wistia. Some plugins also support self-hosted video embedding. As of WordPress 3.6, This feature is available in WordPress.

Embedding Video From Media Library

Do you know that you can get 50% OFF WordPress hosting here for a limited time? Hurry now before this offer ends!

To upload a video to your WordPress Media Library, click on the Add Media button of the post/page you are currently viewing.

screenshot of video embedding from WordPress media library

Once you have uploaded the video select Embed Media Player and hit Insert into page.

screenshot showing the video embed in edit screen

Additionally, you can customize some video attributes by clicking on the Edit icon,

Preload: It defines how the video should load when the page loads.

  • metadata – default is “metadata”. That means only metadata should load.
  • none – video should not load.
  • auto – video should load entirely.

Autoplay: It causes the video to automatically play when the page loads. The default value is “off”.

Loop: It causes the video to loop to the beginning when finished.

Poster: It defines an image to show as a placeholder before the video plays.

Embedding Video From URL

If you are hosting the video in a custom directory on your server or a remote server you can directly paste the URL into the Insert from URL field.

screenshot showing how to embed a video from URL in wordpress

Embedding Video Using a Plugin

Easy Video player is a WordPress plugin which allows you embed video using flowplayer.

Selling Video

WP eStore is a popular plugin for selling video or any type of media in WordPress.

Do you know that you can get 50% OFF WordPress hosting here for a limited time? Hurry now before this offer ends!

2 thoughts on “How to Embed a Video in WordPress”

  1. How do I enter the code to make my video loop as well as be centered on the page? I just get the code even when in Visual mode.

    My code currently looks like this:
    [evp_embed_video url="" width="500" autoplay="true" ratio="0.56"]


Leave a Reply

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