Cloudinary Blog

Ultimate HTML5 Video-Player Showdown: 12 Players Compared

Ultimate HTML5 Video-Player Showdown: 12 Players Compared

The following 12 HTML5 video players are among the most popular ones today:

To help you pick the one that best suits your project, this post lists their strengths and, in a couple of cases, their weaknesses. Also described are the installation procedures for the players.

Sign up for Cloudinary free today!

Other well-received HTML5 video players, which are beyond the scope of this post, are Video for Everybody, HTML5 Media, jMediaelement, OIPlayer, hVideo, jQuery Video Player, Moovie, Uppod, LeanBack Player, Open Standard Media (OSM) Player, HDW Player, Fluid Player, and Amalia.js.

Cloudinary Video Player

Cloudinary Video Player, which is analytics ready, offers these key features:

To add the Cloudinary Video Player to your webpage, link the player and the JavaScript SDK files, like this:

Copy to clipboard
<link href="" rel="stylesheet">
<script src="" type="text/javascript"></script>
<script src="" 

Alternatively, install the player with npm and then link the files:

Copy to clipboard
npm install lodash cloudinary-core cloudinary-video-player
Copy to clipboard
<link href="node_modules/cloudinary-video-player/dist/cld-video-player.min.css" rel="stylesheet">
<script src="node_modules/lodash/lodash.js" type="text/javascript"></script>
<script src="node_modules/cloudinary-core/cloudinary-core.js" type="text/javascript"></script>
<script src="node_modules/cloudinary-video-player/dist/cld-video-player.min.js" 

For further reference, read the following:

Vimeo Player

Vimeo is a video-hosting platform that offers numerous features. Its HTML5 video player was built—and is being continually enhanced—with JavaScript and CSS.

The Vimeo video player supports the following:

  • Analytics
  • Embeddable playlists
  • Shareable video pages
  • Skinning and customization of HTML5 video controls
  • 4K and HDR (for a charge)
  • HTML5 video live-streaming (for a charge)
  • Accessibility, including amazing screen readers and full keyboard navigation
  • Password protection
  • Private link-sharing
  • Fast playback
  • In-player purchases
  • Closed captions and subtitles
  • HTML5 responsive video

The Vimeo video player is embedded by default, hence no installation or integration is necessary. You can load the player with an <iframe> or a <div> element:

Copy to clipboard
<iframe src="{video_id}" width="{video_width}" height="{video_height}" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

In addition, Vimeo offers an SDK that interacts with the Vimeo player. To take advantage of the SDK, either add this code snippet—

Copy to clipboard

  <iframe src="{video_id}" width="{video_width}" height="{video_height}" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>

  <script src=""></script>
    <!- Your Vimeo SDK player script goes here ->


—or install the SDK with npm:

Copy to clipboard
npm install @vimeo/player

For details on the Vimeo player’s SDK, see the related documentation.

Youtube Embedded Player

As the world’s largest video platform to which about 400 hours of videos are uploaded every minute, YouTube boasts roughly two billion users.

You can configure YouTube’s embedded video player with the iFrame API and JavaScript, as in this example:

Copy to clipboard
<iframe id="existing-iframe-example"
        width="640" height="360"
        style="border: solid 4px #37474F"

Furthermore, you can customize a video’s display on a page with YouTube’s YT Player JavaScript API, as demonstrated below.

Copy to clipboard
var tag = document.createElement('script');

      tag.src = "";
      var firstScriptTag = document.getElementsByTagName('script')[0];
      firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);

function onYouTubeIframeAPIReady() {
  var player;
  player = new YT.Player('player', {
    width: 1280,
    height: 720,
    videoId: 'M7lc1UVf-VE',
    events: {
      'onReady': onPlayerReady,
      'onStateChange': onPlayerStateChange,
      'onError': onPlayerError

function onPlayerReady(event) {;;

The YouTube embedded player and its API support the following:

Mobile apps (Android and iOS) Closed captioning and subtitles HTML5 responsive video HTML5 video live-streaming Fast video playback


Free and open-source VideoJS, which was developed with JavaScript and CSS, works well with Adobe Flash and supports playbacks on both desktops and mobile devices. Currently, VideoJS runs on over 400,000 websites with more than 25,000 stars on GitHub.

Flash technology is built into VideoJS versions that are lower than 6.0.0 only. If you are using the latest version of VideoJS and need Flash as fallback, join the videojs-flash project on GitHub.

HTML5 video controls are customizable. A notable strength of VideoJS is its skinnability. The player skin is built from HTML and CSS, and you can create your own. Here are two examples of custom skins:


See the Pen OGZ Video.js Skin by Joshua Riddle (@joshriddle) on CodePen.

VideoJS Netflix Skin

See the Pen Video.js Netflix Skin by benjipott (@benjipott) on CodePen.

To install VideoJS:

  1. Add the requisite CSS and JavaScript files from the content delivery network (CDN) to the <head> element, as follows:

    Copy to clipboard
    <link href="//" rel="stylesheet">
    <script src="//"></script>
  2. Add the <video> tag to the body, for example:

    Copy to clipboard
    <source src="//" type="video/mp4"></source>
    <source src="//" type="video/webm"></source>
    <source src="//" type="video/ogg"></source>
    <p class="vjs-no-js">
    To view this video please enable JavaScript, and consider upgrading to a
    web browser that
    <a href="" target="_blank">
      supports HTML5 video

    Be sure to specify video-js as the value for the class parameter of the <video> tag. Once a page has loaded, VideoJS reads that value and sets up VideoJS for you.

Alternatively, do either of the following to install VideoJS:

  • Fetch the requisite files from npm with the command line npm install Video.js.
  • Programmatically invoke the player with this JavaScript code:
Copy to clipboard
var options = {};

var player = videojs('my-player', options, function onPlayerReady() {
  videojs.log('Your player is ready!');

  // In this context, `this` is the player that was created by Video.js.;

  // How about an event listener?
  this.on('ended', function() {
    videojs.log('Awww...over so soon?!');

JW Player

Feature-rich and robust JW Player, currently in use on over two million websites, works superbly on desktop and mobile browsers. It’s also a video-hosting platform on which you can upload and stream 360-degree videos.

JW Player supports the following:

  • 4K resolution
  • Adaptive bitrate streaming
  • HTML5 video live-streaming
  • Monoscopic videos
  • Gyroscope motion
  • Customization of the UI of HTML5 video controls
  • Playback of 360-degree video in magic-window and immersive-VR modes with a premium license
  • Addition of the 360-degree video-playback capability to native Android and iOS apps with JW Player VR SDK Beta
  • Digital Rights Management (DRM): Widevine, PlayReady, FairPlay, and ClearKey
  • Video-advertising standards: VAST, VPAID 1, VPAID 2, and Google Interactive Media Ads (IMA)

To install JW Player:

  1. Add the requisite JavaScript file and the key from your JW Player account to the <head> element, as follows:

    Copy to clipboard
    <script src=''></script>
    _Load from the head element._
  2. Load the player by calling the jwplayer function, like this:

    Copy to clipboard
    <div id='myElement'>Loading the player . . .</div>
    <script type='text/javascript'>
    "file": "/uploads/example.mp4",
    "image": "/uploads/example.jpg"

Afterwards, you can programmatically call API methods on JW Player, which works seamlessly with the event triggers on, off, once, and trigger. See this example:

Copy to clipboard
jwplayer("myElement").on('complete', function(){
     alert("Playing is complete.");
_Listens on the complete event. Once the video finishes a playback, invokes the callback function._

You can also load multiple JW Player instances with different IDs (id) on the same webpage.

For details on the related APIs, check out the JW Player JavaScript API Reference documentation.


jPlayer is a jQuery plugin that functions as the HTML5 audio and video player for jQuery, working impeccably on many browsers: IE6+, Android 2.3+, Firefox, Chrome, Safari, Opera, and Mobile Safari.

jPlayer supports the following:

  • Customizations, including modifications of video skins with HTML and CSS
  • Flash: MP3, MP4 (AAC/H.264), Real-Time Messaging Protocol (RTMP), and Flash Video (FLV)
  • HTML 5: MP3, MP4 (AAC/H.264), OGG (Vorbis and Theora), WebM, and WAV

To install jPlayer, type this bower command line:

bower install jplayer

Alternatively, install with PHP’s composer:

Copy to clipboard
composer require happyworm/jPlayer


Flowplayer offers the following capabilities:

  • Support for Google AdSense and Video Ad Serving Template (VAST) advertising
  • Video hosting
  • Subtitles
  • Customizations of HTML5 video controls, including skin changes
  • Publication of videos in bulk from the command line with the flowplayer utility

To install Flowplayer, type on the command line:

Copy to clipboard
npm install flowplayer-api
cd flowplayer-api
make install

To upload videos in bulk with Flowplayer, type:

Copy to clipboard
flowplayer -U <username> -P <password> videos/*.mov

Efficient management of videos

To use Flowplayer in your app, download the Flowplayer code, unzip it, and link the JavaScript and CSS files, as follows:

Copy to clipboard
<!DOCTYPE html>
   <!-- flowplayer depends on jQuery 1.7.1+ (for now) -->
   <script type="text/javascript" src="//"></script>

   <!-- flowplayer.js -->
   <script type="text/javascript" src="flowplayer.min.js"></script>

   <!-- player styling -->
   <link rel="stylesheet" type="text/css" href="flowplayer/minimalist.css">



   <!-- player 1 -->
   <div class="flowplayer">
      <video src="my-video.mp4"></video>

   <!-- player 2 -->
   <div class="flowplayer">
         <source type="video/webm" src="my-video2.webm">
         <source type="video/mp4" src="my-video2.mp4">


MediaElement.js supports the following:

  • Streaming of HLS, MPEG-DASH, and RTMP content
  • Consistent feel for MP4, WebM, MP3, and FLV media files
  • Embedding of YouTube, Vimeo, Twitch, Dailymotion, Facebook, and Soundcloud videos
  • Advertising
  • Previews

To install MediaElement.js:

  1. Fetch the requisite CSS and JavaScript files from the CDN with this code:

    Copy to clipboard
    <!DOCTYPE html>
    <html lang="en">
    <meta charset="UTF-8">
    <script src=""></script>
    <link href="" rel="stylesheet">
  2. Set up the player in your app by adding the mejs__player class to a <video> tag:

    Copy to clipboard
    <video class="mejs__player">
    <source src="/path/to/video.mp4" />

    Alternatively, install from npm and reference the files:

    Copy to clipboard
    npm install mediaelement

To embed social-media videos, such as those on YouTube and Vimeo, add the <iframe> tag, for example:

Copy to clipboard
<iframe class="mejs__player" width="640" height="360" src="" frameborder="0" allowfullscreen></iframe>


Free and open-source Projekktor offers the following capabilities:

  • Preroll and postroll ads (VAST)
  • True full-screen
  • Fallback option on Flash with RTMP support
  • Support for the VideoLAN Client (VLC) web-plugin
  • Selection and toggling of quality level
  • Cue points for media-synchronized events
  • Open Source Media Framework (OSMF) support for HTTP Dynamic Streaming (HDS) and digital video recorders (DVR)

Because Projekktor is built on jQuery, to integrate the player into your app, you must import jQuery and the requisite CSS and JavaScript files, as follows:

Copy to clipboard
<!-- Load the player theme -->
    <link rel="stylesheet" href="themes/maccaco/" type="text/css" media="screen" />

    <!-- Load jQuery -->
    <script type="text/javascript" src="jquery-1.9.1.min.js"></script>

    <!-- Load Projekktor -->
   <script type="text/javascript" src="projekktor.min.js"></script>

Afterwards, set up Projekktor on a <video> tag by adding the id parameter and calling the projekktor function after a page load:

Copy to clipboard
<video id="player_a" class="projekktor" poster="intro.png" title="this is projekktor" width="640" height="360" controls>
    <source src="" type="video/ogg" />
    <source src="" type="video/mp4" />

<script type="text/javascript">
$(document).ready(function() {
    projekktor('#player_a', {
    volume: 0.8,
    playerFlashMP4: '',
    playerFlashMP3: ''

Acorn Media Player

Acorn Media Player, which focuses on accessibility, offers the following capabilities:

  • Customization of HTML5 video controls, including skin changes
  • A buffering indicator
  • External SubRip Subtitle (SRT) files for subtitles
  • Full keyboard access through standard tabs-based navigation and a screen reader

Acorn Media Player does not support closed captions.

Because Acorn Media Player is a jQuery plugin, to add the player to your app, you must also incorporate jQuery, as follows:

Copy to clipboard
<!DOCTYPE html>
<html lang="en">
    <meta charset="UTF-8">
    <script src=""></script>
    <script src="/path/to/jquery.acornmediaplayer.js"></script>
    <link href="/path/to/acornmediaplayer.base.css" rel="stylesheet" type="text/css">
    <link href="/path/to/themes/acorn.theme.css" rel="stylesheet" type="text/css">
    $(document).ready(function() {

    <source src="/path/to/video.mp4" />


Tip: To obtain the path to the core acornmediaplayer files, type bower install acornmediaplayer on the command line.

Kaltura Player

Kaltura Player offers the following capabilities:

  • Fallback option with Flash-based playbacks
  • Advertising and monetization
  • Video analytics
  • Subtitles
  • Full screen
  • Customization of HTML5 video controls, including skin changes
  • Touch interface
  • Android and iOS SDKs for mobile apps

Kaltura requires the jQuery library. To install Kaltura Player on a server or in a cluster environment, follow the procedures in the related documentation.

As additional reference, see the Kaltura Cross-Platform Video Player ToolKit on GitHub.

Accessible HTML5 Video Player From PayPal

Built by PayPal’s accessibility team, Accessible HTML5 Video Player offers the following capabilities:

  • Captions through the Video Text Tracks (VTT) caption file
  • Internationalization of text strings in the controls
  • An option for setting the number of seconds to rewind or forward
  • AccessibIlity for keyboard-only and screen-reader users

Note the following limitations of this player:

  • No support for SRT files, ads, or ad networks
  • A minimum width of 360 pixels for the controls
  • A limit of one caption file per video

PayPal HTML5 Video Player

The two tables below list the features of the HTML5 video players described above, also that of several others that are in wide use.

Comparison of HTML5 Video Players

Comparison table


Videos on HTML5 are multimedia content on steroids for web browsers. Even though quite a few HTML5 video players are available, not all of them would meet your needs. I hope this post will help you pick an ideal one for your project.

Among the popular video players, Cloudinary stands out as an all-encompassing solution for managing, manipulating, optimizing, and delivering videos. Check out Cloudinary’s documentation for more information on how to integrate it into your apps and give it a test drive.

I’d appreciate your take afterwards, e.g., your favorite features and the related benefits, in the Comments section below. Also, do let me know if I missed any great HTML5 video players out there.

Want to learn more about HTML5 Video Players?

Recent Blog Posts

The Benefits of Headless DAMs

Headless is not a buzzword anymore. In fact, the concept of headless architecture is gaining momentum due to the flexibility it offers for composing new experiences and for tackling the undue complexity of an ever-evolving technology stack. That’s because while the evolution of the martech landscape has enabled disruptive, digital innovations, the approach of buying point solutions for solving specific challenges can expose companies to the complicated nature of new technologies, systems, and platforms.

Read more

Building Display Ads With Transparent Video

By Afzaal Ahmad Zeeshan
Build Web Ads With Transparent Video to Attract User Engagement

Billions of views on the Internet every day drive one of the biggest industries on the planet: advertising. The sheer size of that market and the competitive nature of vying for consumer attention results in a constant need for innovation. Readers are jaded, and display ads are blind spots.

Read more
How Cloudinary's Media Optimizer Helps E-Businesses Deliver Superior Web Performance

As a technology company, Cloudinary owes its success to its ability to build solutions that address the most critical challenges you, our customers, face. The companies we serve run the gamut of digital businesses—retailers and direct-to-consumer brands, media and entertainment, travel and hospitality—which, coincidentally, all care about the same things.

Read more
How to Auto-Tag Video With Markers on Cloudinary for Easy Navigation

A picture is worth a thousand words, and that also holds true for video, one minute of which, according to Dr. James McQuivey of Forrester Research, is worth 1.8 million words. That's why online stores rely on rich media to promote products and sales. Images and videos impart a real sense of involvement with a purchase—a car, a vacation getaway, an apartment rental—setting your business apart from the competition.

Read more