How to Embed a Video in WordPress

A video can be a great way to illustrate your content. There are many WordPress video 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.

how to embed a video in wordpress

Table of Contents

Embedding Video From Media Library

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 video player plugin which allows you to embed a MP4 video using flowplayer.

Selling Video

WP eStore is a popular plugin for selling video or any type of media in WordPress. You can check out the plugin here: https://www.tipsandtricks-hq.com/?p=1059&ap_id=naa986.

Leave a Comment