WordPress Video Plugin: Easily Embed a Video in WordPress

Videos can significantly increase the importance of a WordPress page. It makes your content much more compelling to the users as well as the search engine crawler. Research has shown that users tend to spend more time on a web page where the key concept is presented via a video. To be honest, if I had to choose between a blog post where the content is too long (sort of like a written tutorial) and a WordPress video tutorial I would definitely be interested in the second option. That pretty much explains why video marketing has been so successful.

Issues With WordPress Video Embedding

I have always experienced issues trying to embed videos on my WordPress blog. It’s just there are not many good options when it comes to video embedding. Even though there is a few I find them extremely confusing for the new WordPress users. Not all users are familiar with coding. That’s why they use WordPress. So it will be really good to have a solution that requires fewer steps to follow and meets user’s expectation.

Getting Started With Easy WordPress Video Player

Finally, I took an effort to create a plugin that may be able to resolve some of the major issues WordPress users were experiencing – Easy Video Player.

This WordPress video player plugin allows you to embed your favorite videos in a post/page.

Easy Video Player Info

Plugin Name: Easy Video Player
Version: 1.1.9
File Format: application/zip
Requires: WordPress 5.5
Rating: 3.9 based on 51 votes
See All Ratings/Submit Your Rating Here
Price: 0 USD

Requirements

  1. A self-hosted WordPress site running on a WordPress Optimized Environment.
  2. Support for the WordPress shortcode API.

Features

  • Embed videos using simple shortcodes (no coding required)
  • Play videos using HTML5
  • Enable automatic fallback for browsers that don’t support HTML5. It allows older browsers like Internet Explorer version 8 or lower to play your videos.
  • Embed responsive videos so they look great while browsing from mobile devices.

Installation & Configuration

Embedding a Video in the Classic Editor

Download the Easy Video Player plugin

  • Login to your Admin Dashboard and go to “Plugins->Add New”
  • Click on the upload option
  • Select the easy-video-player.zip file on your computer
  • Install and Activate the plugin.

Now go to the Settings menu of the plugin (Settings->Easy Video Player) and check the “Enable jQuery” option. That’s all you need to do for configuring the plugin.

Embedding Videos in a Post/Page

Create a new post/page and embed the following shortcode:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4"]

Now replace the URL parameter with the actual URL of your video.

That’s it. Simply publish the post/page and your video will be embedded along with your content.

screenshot showing a demo of the easy video player WordPress plugin

Video Autoplay

If you want a particular video to start playing automatically you can set the “autoplay” option to “true” in the shortcode:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" autoplay="true"]

Control Player Size

To control the size of a video you can specify a width:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" width="640"]

Control Player Aspect Ratio

The player aspect ratio is set to “16:9” by default. To override it you can specify a different ratio:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" ratio="4:3"]

Poster Image

You can specify a poster image for your video by adding the “poster” parameter in the shortcode:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" poster="http://example.com/wp-content/uploads/images/poster.jpg"]

Video Loop

If you want a particular video to start playing again when it ends you can set the “loop” option to “true” in the shortcode:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" loop="true"]

Video Muted

If you want to mute the audio output of the video by default you can set the “muted” option to “true” in the shortcode:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" muted="true"]

Custom CSS

You can specify custom classes in the shortcode to customize the player. For example:

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" class="myclass"]

You can specify more than one class (separated by whitespaces) in the shortcode.

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" class="myclass1 myclass2"]

Player Template

By default, the player uses the Plyr template. However, you can choose a different player template using the template parameter.

[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" template="mediaelement"]
screenshot of MediaElement player template in the Easy Video Player plugin

Video Preload

By default, the mediaelement template only renders the metadata of a video when the page loads. If you want to change this behavior you can set the “preload” option to “auto” or “none” in the shortcode.

  • “metadata”: Only metadata should be loaded when the page loads (default)
  • “auto”: The video should be loaded entirely when the page loads
  • “none”: The video should not be loaded when the page loads
[evp_embed_video url="http://example.com/wp-content/uploads/videos/vid1.mp4" preload="auto" template="mediaelement"]

Center Video

By default, the mediaelement player is aligned to the left. However, you can use this method to align the video in the middle.

  • Open your theme customizer
  • Add this CSS under “Appearance -> Customize > Additional CSS”
.wp-video {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

Frequently Asked Questions (FAQ)

Can I automatically play videos on mobile devices?

No. Video autoplay is disabled by default on iOS and android devices. This is to make sure that no data is loaded until the user initiates it. There is nothing you can do as this is how it was designed by the hardware manufacturer. You can even try embedding a video without using this plugin and the autoplay feature won’t still work.

Can I upload videos on WordPress using this plugin?

There is no uploader in the plugin. You can either use the media uploader in WordPress or connect to your website via FTP to upload videos.

How do I show videos on WordPress using this plugin?

Insert the video shortcode into a post/page and replace the value of the url parameter with the actual URL of your video.

What is the best video format for WordPress?

If you wish to host the video files on a server, MP4 is the way to go. Most devices and platforms support MP4 making it the most universal video format.

What is the best video encoder?

If wish to use a free encoder handbrake can be a great choice.

How do I upload a large video to WordPress?

You can either increase your maximum file upload size or connect to your website via FTP and directly upload the video.

Disclosure: This page may contain affiliate links. If you follow one of those affiliate links and purchase something it will provide me with a little bit of a commission. This costs you nothing extra but helps maintain my site, free plugins, and themes. So I thank you for your support.

754 thoughts on “WordPress Video Plugin: Easily Embed a Video in WordPress”

  1. This plugin is excellent! Two quick questions:

    1) Should I be able to add multiple commands to the end of my video code, i.e., autoplay=”true loop=”true” share=”false”, with a space between each?

    2) How do I format my video to be a wide as and fill the player?

    Please help. Thanks!
    Jay

    Reply
    • @Jay, 1) Yes 2) you can use the ratio parameter in the shortcode

      Reply
      • I thought “yes” to 1), but I am having trouble getting ‘ autoplay=”true loop=”true” share=”false”’to function. Share seems to be disabled, autoplay sometimes works, and loop never works. Is there anything you can think of I should try?

        Also, how do I set the play button in the middle of the screen to be visible?

        Thank you for your help!
        Jay

        Reply
        • @Jay it’s autoplay="true" loop="true" share="false". Your code is missing a quote with the autoplay value.

          Reply
          • I am facing the same issue. Everything works perfect except the looping.

            the shortcode i used in a do_shortcode function is:
            [evp_embed_video url='video_LINK' loop='true' preload='none' class='no-toggle fp-mute no-volume fp-minimal' autoplay='true' ]

            The video plays perfectly as a autoplay but the loop is not working.

          • I am having getting autoplay=”true”
            The video doesn’t start…

  2. Hello. Is there a way I can replace the “flowplayer” watermark (on the video) with my Company Logo?

    Reply
    • @Darrell, You can use the mediaelement template instead.

      Reply
    • Darrell, if you are able to do this can you briefly outline the steps for us?

      Jay

      Reply
  3. Everything works great except that my video will not expand to full screen properly when the full screen button (bottom right) is clicked. The player expands to fill the screen, but the video remains small and left of centre. This problem does not happen when mirroring or on mobile, just on laptop and desktop computers.

    Reply
  4. Great stuff and it looks great!

    How can I eleminate the play/pause controls?

    Reply
  5. Hi,
    This is a great plug in, thanks!
    It works with mp4, but how do I make it work with YouTube?

    Reply
    • @Johan, It only works with a MP4 video

      Reply
  6. When I add a video perhaps once a year, how shall I remember the shortcode for your otherwise excellent plugin? Write it down somewhere? Why is this info not available in the wp dashboard settings . easy video player? Let me assure you: I will not remember it!

    Could you please consider adding a menu element to the classic editor with the name of your plugin? That would strongly enhance the EASYNESS of your plugin. Thanks.

    Reply
  7. Hi. Thank you for your plugin. It’s awesome. I have one problem, though. My videos works well with all browsers but it doesn’t play on Opera. what should I do?

    Reply
  8. Hi,
    I run an educational website. This plugin is so good especially its instant play on the display of the video. My challenge is the download button. It shows on the androids and doesn’t show on the desktops. It makes it difficult for my clients to download their purchased videos. Please help me settle this challenge

    Reply
  9. The width won’t go larger than 640. Is there a way to fix this?

    Reply
    • @Tara, What’s the size of your video?

      Reply
      • It’s about 10 MB

        Reply
        • @Tara, Sorry I meant the video frame width.

          Reply
          • I need it to be 690 but it won’t go beyond 640

  10. Nice plugin, we should all donate. I just have a question: how do you add a cover image to the video so it displays the image instead of black as it does now? it is a self hosted video.

    Reply
  11. Hello, all works super cool, I`ll donate if you let me know how to get rid of the watermark (flowplayer).

    Reply
  12. Can I detect number of plays? If I want to limit the number of times the user can play the video?

    Reply
    • @Jason, Unfortunately that’s not possible at the moment.

      Reply
  13. Great plugin, is there a paid version without the > flowplayer link?

    Reply
  14. Hello, Very useful plugin, thank you. I was wondering what happened to the fp-slim skin? where you could just have the volume control and nothing else. Thank you

    Reply
    • @manu, It comes with flowplayer which was removed in the latest release.

      Reply
  15. Oh I see, so now its a different player? is there a minimal css? like for just the volume? Thank you!

    Reply
    • @manu, There isn’t unfortunately. If you still want to use the old flowplayer please download the previous release of the plugin.

      Reply
  16. Hi, the plugin is great but the autoplay doesn’t work. I see the black video screen and I have to click on play.

    Reply
    • @Simona, Please provide a link to the page in question so I can take a look.

      Reply
  17. Hi,

    Thanks for your great plugin !!

    I don’t know why the autoplay doesn’t work

    Can you help me please ?

    [evp_embed_video url='LINK' loop='true' preload='none' autoplay='true' poster='Link.png']

    Reply
  18. Hi There,

    I Want To Know Can I Add Quality Setting Option On Player If i Can Then Let Me Know It Will Very HelpFull

    Thank You.

    Reply
  19. Does this plugin support subtitle?

    Reply
    • @Ali, Unfortunately that’s not possible at the moment.

      Reply
  20. Can i change color in this player?

    Reply

Leave a Comment