10 Best Vanilla JavaScript Video Player Libraries

Curated by the Openbase team and community.Learn more

Curated by the Openbase team and community. Learn more

video.js

Video.js - open source HTML5 & Flash video player

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
95
Top Feedback
2Hard to Use
1Easy to Use
1Highly Customizable
GitHub Stars
32K
Weekly Downloads
315K
Last Commit
17d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

shaka-player

JavaScript player library / DASH & HLS client / MSE-EME player

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
4
Top Feedback
1Performant
GitHub Stars
5K
Weekly Downloads
161K
Last Commit
3d ago
Bundle Size (min+gzip)
117.8KB
Not Tree-Shakeable
ply

plyr

A simple HTML5, YouTube and Vimeo player

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
4.6/ 5
14
Top Feedback
2Great Documentation
1Easy to Use
GitHub Stars
21K
Weekly Downloads
76K
Last Commit
5d ago
Bundle Size (min+gzip)
31.2KB
Tree-Shakeable

openplayerjs

Lightweight HTML5 video/audio player with smooth controls and ability to play VAST/VPAID/VMAP ads

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User Rating
5.0/ 5
1
Top Feedback
1Great Documentation
1Easy to Use
1Performant
GitHub Stars
364
Weekly Downloads
799
Last Commit
4d ago
Bundle Size (min+gzip)
N/A
Tree-Shakeable

lib-jitsi-meet

A low-level JS video API that allows adding a completely custom video experience to web apps.

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
1
Top Feedback
1Hard to Use
GitHub Stars
1K
Weekly Downloads
259
Last Commit
3d ago
Bundle Size (min+gzip)
137.6KB
Not Tree-Shakeable

mediaelement

HTML5 <audio> or <video> player with support for MP4, WebM, and MP3 as well as HLS, Dash, YouTube, Facebook, SoundCloud and others with a common HTML5 MediaElement API, enabling a consistent UI in all browsers.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.0/ 5
3
Top Feedback
N/A
GitHub Stars
8K
Weekly Downloads
9K
Last Commit
12d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

clappr

🎬 An extensible media player for the web.

License Icon
License: BSD-3-Clause
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.5/ 5
2
Top Feedback
N/A
GitHub Stars
5K
Weekly Downloads
2K
Last Commit
10d ago
Bundle Size (min+gzip)
140.7KB
Not Tree-Shakeable

videojs-contrib-hls

HLS library for video.js

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
5.0/ 5
2
Top Feedback
1Performant
GitHub Stars
3K
Weekly Downloads
20K
Last Commit
3yrs ago
Bundle Size (min+gzip)
109.7KB
Not Tree-Shakeable

rx-player

DASH/Smooth HTML5 Video Player

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
636
Weekly Downloads
539
Last Commit
6d ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

videojs-swf

Custom Flash Player for VideoJS

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
337
Weekly Downloads
28K
Last Commit
10mos ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

videojs-playlist

Playlist plugin for videojs

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
289
Weekly Downloads
5K
Last Commit
2yrs ago
Bundle Size (min+gzip)
147.1KB
Tree-Shakeable
dpl

dplayer

Wow, such a lovely HTML5 danmaku video player

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
1Easy to Use
GitHub Stars
N/A
Weekly Downloads
4K
Last Commit
N/A
Bundle Size (min+gzip)
35.2KB
Not Tree-Shakeable

flowplayer

The HTML5 video player for the web

License Icon
License: GPL-3.0-or-later
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
4K
Last Commit
18d ago
Bundle Size (min+gzip)
52.3KB
Not Tree-Shakeable
kal

kaleidoscopejs

🔮 An embeddable, lightweight 360º video/image viewer

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
310
Weekly Downloads
684
Last Commit
2yrs ago
Bundle Size (min+gzip)
64.0KB
Tree-Shakeable

accessible-html5-video-player

Accessible HTML5 Video Player

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
102
Last Commit
6mos ago
Bundle Size (min+gzip)
0.13KB
Not Tree-Shakeable

chimee

a video player framework aims to bring wonderful experience on browser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
127
Last Commit
1yr ago
Bundle Size (min+gzip)
47.6KB
Tree-Shakeable
hj

hasplayer.js

hasplayer.js is a javascript implementation of a video player based on the W3C premium extensions, i.e. [MSE](https://dvcs.w3.org/hg/html-media/raw-file/tip/media-source/media-source.html) and [EME](https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted

License Icon
License: BSD-3-Clause-Clear
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
N/A
Weekly Downloads
114
Last Commit
N/A
Bundle Size (min+gzip)
107.4KB
Not Tree-Shakeable

videojs-hlsjs

HLS playback plugin for videojs

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
22
Weekly Downloads
113
Last Commit
4yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
med

mediaplayer

A tiny, totally cross browser, accessible, fully customizable media player

License Icon
License: CC0-1.0
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
265
Weekly Downloads
100
Last Commit
3yrs ago
Bundle Size (min+gzip)
0.80KB
Tree-Shakeable
avc

aframe-video-controls

AFrame component to control (play/pause/jump) videos.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
52
Weekly Downloads
18
Last Commit
5yrs ago
Bundle Size (min+gzip)
2.11KB
Not Tree-Shakeable
aft

afterglowplayer

HTML5 video player made easy.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
238
Weekly Downloads
10
Last Commit
2yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable
hy

html5-youtube

YouTube Player API wrapper like HTML5 video API.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
190
Weekly Downloads
8
Last Commit
4yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable

p2phls

BemTV peer-to-peer plugin for Clappr Player (HTTP Live Streaming, HLS, WebRTC, P2P)

License Icon
License: Unknown
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
302
Weekly Downloads
7
Last Commit
7yrs ago
Bundle Size (min+gzip)
N/A
Not Tree-Shakeable