Embedding video on a Web page using HTML5 syntax is simple. However, there comes a problem that not all of the browsers support the same codecs. This is where Javascript comes to aid. It sits on top of the video tag providing better video controls, fixes cross-browser inconsistencies, adding new features that haven`t been implemented by all browsers, etc. So here are 15 Javascript Libraries for Working with HTML5 Video which allow you to easily embed video into web pages.
Indigo player
Highly extensible, modern, JavaScript video player. Handles MPEG-Dash / HLS / MPEG-4 and is built on top of the HTML5 video element.
Plyr
Plyr is a simple, lightweight, accessible and customizable HTML5, YouTube and Vimeo media player that supports modern browsers.
Video.js
Video JS is a free and open-source HTML5 video player built with JavaScript and CSS. As of this writing, Video JS runs on over 400k websites with more than 200k stars on Github.
hls.js
hls.js is a JavaScript library which implements an HTTP Live Streaming client. It relies on HTML5 video and MediaSource Extensions for playback.
Shaka Player
Shaka Player is an open-source JavaScript library for adaptive media. It plays adaptive media formats (such as DASH and HLS) in a browser, without using plugins or Flash. Instead, Shaka Player uses the open web standards MediaSource Extensions and Encrypted Media Extensions.
Xgplayer
This is a web video player library. It has designed a separate, detachable UI component based on the principle that everything is componentized. More importantly, it is not only flexible in the UI layer, but also bold in its functionality: it gets rid of video loading, buffering, and format support for video dependence. Especially on mp4 it can be staged loading for that does not support streaming mp4. This means seamless switching with clarity, load control, and video savings. It also integrates on-demand and live support for FLV, HLS, and dash.
ReactPlayer
A React component for playing a variety of URLs, including file paths, YouTube, Facebook, Twitch, SoundCloud, Streamable, Vimeo, Wistia, Mixcloud, and DailyMotion.
Accessible HTML5 Video Player
A lightweight HTML5 video player which includes support for captions and screen reader accessibility.
DPlayer
DPlayer is a lovely HTML5 danmaku video player to help people build video and danmaku easily.
Videogular
Videogular is an HTML5 video player for AngularJS. Videogular is a wrapper over the HTML5 video tag, so you just could add whatever you want. This provides a very powerful, but simple to use solution, for everybody.
Clappr
You can customize everything in Clappr UI. Create a chromeless video experience or change the UX to make it perfect for you. Simple use Html5 and CSS3.
RxPlayer
The RxPlayer is a library implementing a DASH and Microsoft Smooth Streaming video player directly on the browser, without plugins. It relies on HTML5 Media Source Extensions and Encrypted Media extensions and is written in TypeScript, a superset of JavaScript.
Fluid Player
Fluid Player is a new free HTML5 video player. It is lightweight, easy to integrate and has advanced VAST capabilities.
IVID
This is an interactive video player for modern browsers. Full VanillaJS webcomponent. Plug-n-play ready, easy setup and use.
Chimee
Chimee is a web video player created by the Qiwoo Team. It’s based on the web video element. It supports multiple media streams, including mp4, m3u8, flv, etc.