https://github.com/clappr/clappr
An extensible, plugin-oriented, HTML5-first media player for the web
https://github.com/clappr/clappr
clappr dash hls html5-audio html5-video html5-video-player javascript mp4 player video video-player
Last synced: about 1 month ago
JSON representation
An extensible, plugin-oriented, HTML5-first media player for the web
- Host: GitHub
- URL: https://github.com/clappr/clappr
- Owner: clappr
- License: bsd-3-clause
- Created: 2014-02-14T17:36:40.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2026-10-10T19:54:10.000Z (about 2 months ago)
- Last Synced: 2026-10-12T22:50:47.313Z (about 1 month ago)
- Topics: clappr, dash, hls, html5-audio, html5-video, html5-video-player, javascript, mp4, player, video, video-player
- Language: JavaScript
- Homepage: http://clappr.io
- Size: 75.5 MB
- Stars: 7,508
- Watchers: 231
- Forks: 860
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Agents: AGENTS.md
- Claude: CLAUDE.md
Awesome Lists containing this project
- awesome-javascript - clappr/clappr - An extensible, plugin-oriented, HTML5-first media player for the web (Graphics and Media / Image and Video)
- awesome-frontend - Clappr - 开源的Web视频播放器 (音频/视频)
- awesome-frontend - clappr - An extensible media player for the web.  (Repository / Audio/Video)
- awesome-javascript-cn - clappr - :网页上用的可扩展的媒体播放器 <http://clappr.io>。 (视频/音频)
- A-collection-of-awesome-browser-side-JavaScript-libraries-resources-and-shiny-things. - clappr - An extensible media player for the web <http://clappr.io> (Video/Audio)
- awesome-frontend - Clappr - 开源的Web视频播放器
- awesome-video - Clappr - An open source HTML5 video player that supports custom plugins and playback of various formats. (Players & Clients / Mobile & Web Players)
- awesome-javascript - clappr - An extensible media player for the web. - ★ 4447 (Video/Audio)
- awesome-frontend-libraries - clappr
- starred-awesome - clappr - :clapper: An extensible media player for the web. (JavaScript)
- awesome-coding - Clappr player · GitHub
- fucking-awesome-javascript - clappr - An extensible media player for the web <http://clappr.io> (Video/Audio)
- github-ultimate-repos - clappr/clappr - | ⭐ 7,519★ | 🍴 860 | 💻 `JavaScript`🔗 <https://github.com/clappr/clappr>📝 An extensible, plugin-oriented, HTML5-first media player for the web⚙️ `Container demuxing (MP4/MKV) -> packet queueing -> hardware-accelerated codec decode (H.264/HEVC/AV1) -> pixel format conversion (YUV420p) -> audio-video synchronization.` (📜 Master Categorized Repository Directory (100% Clickable Links) / [54] MULTIMEDIA PROCESSING, AUDIO/VIDEO CODECS, FFMPEG & STREAMING PIPELINES)
- awesome-video - clappr - An extensible media player for the web. (Players)
- awesome-frontend - clappr/clappr - 开源的Web视频播放器 (25. 音频/视频)
- awesome-javascript-libraries - clappr/clappr - :clapper: An extensible media player for the web. (Uncategorized / Uncategorized)
- awesome-front-end - clappr/clappr - 开源的Web视频播放器 (25. 音频/视频)
- awesome-made-by-brazilians - clappr - by [clappr](https://github.com/clappr)An extensible media player for the web[](/LICENSE) (Uncategorized / Uncategorized)
- awesome-javascript - clappr - An extensible media player for the web <http://clappr.io> (Video/Audio)
README
# Clappr
An extensible, plugin-oriented, HTML5-first media player for the web.
It provides a modular architecture to build powerful playback experiences with ease.
[](https://github.com/clappr/clappr/actions/workflows/ci.yml)
[](https://sonarcloud.io/summary/overall?id=clappr_clappr)
[](https://raw.githubusercontent.com/clappr/clappr/main/packages/player/package.json)
[](https://github.com/clappr/clappr/blob/main/LICENSE)
[](https://bundlephobia.com/package/@clappr/player)
[](https://www.jsdelivr.com/package/npm/@clappr/player)
## Getting Started
Install via npm or yarn:
```bash
yarn add @clappr/player
```
## Breaking changes (playback peers)
Recent majors stopped embedding their streaming libraries — you must provide the peer:
| Package | Major | Change |
| ------- | ----- | ------ |
| [`@clappr/hlsjs-playback`](packages/hlsjs-playback/README.md) | 3.0.0 | `hls.js` no longer bundled |
| [`dash-shaka-playback`](packages/dash-shaka-playback/README.md) | 5.0.0 | `shaka-player` no longer bundled |
## Project Structure
This repository uses a monorepo layout:
| Directory | Description |
| ---------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| [`/apps`](/apps/) | Applications such as [clappr.io](http://clappr.io/) and documentation site |
| [`/packages`](/packages/) | Core packages (e.g. `@clappr/player`, plugins, utilities) |
| [`/packages/player`](/packages/player) | The main **Clappr Player** package. Exposes the public API and serves as the entry point for embedding the player in web apps. |
| [`/packages/clappr-core`](/packages/clappr-core) | Contains the **core architecture** of the player — including components such as `Core`, `Container`, and `Playback` abstractions. |
| [`/packages/clappr-plugins`](/packages/clappr-plugins) | Official **plugin collection**, providing ready-to-use extensions (e.g., UI features, analytics integrations). |
| [`/packages/clappr-zepto`](/packages/clappr-zepto) | Lightweight **DOM utility layer**, a modernized fork of Zepto tailored for Clappr’s internal UI rendering. |
| [`/packages/hlsjs-playback`](/packages/hlsjs-playback) | Playback module that adds support for **HLS streams** using [hls.js](https://github.com/video-dev/hls.js). |
| [`/packages/dash-shaka-playback`](/packages/dash-shaka-playback) | Playback module that enables **MPEG-DASH** streaming via [Shaka Player](https://github.com/google/shaka-player). |
| [`/packages/html5-tvs-playback`](/packages/html5-tvs-playback) | Playback module for **HbbTV smart TVs**, supporting VoD/Live and DRM via the OIPF DRM agent. |
## Documentation
For the latest guides, examples, and architecture overviews, visit the resources below:
- [**Getting Started**](./apps/clappr.io/docs/getting_started.md): quick setup and integration examples.
- [**Architecture Overview**](./apps/clappr.io/docs/architecture.md): explains how the player, core, containers, and plugins interact.
- [**Plugin Development Guide**](./apps/clappr.io/docs/guides/how_to_build_plugins.md): how to create and register custom plugins.
- [**Player API Reference**](./apps/clappr.io/docs/api.md): complete reference of all available Player methods and properties.
- [**Frequently Asked Questions**](./apps/clappr.io/docs/faq.md): answers to commonly asked questions about setup, configuration, and troubleshooting.
- [**Changelog**](https://github.com/clappr/clappr/releases): highlights of each version and breaking changes.
## Local Development
Requires **Node.js ≥ 24**. The repo pins the major version in [`.nvmrc`](.nvmrc); with [nvm](https://github.com/nvm-sh/nvm), run `nvm install` then `nvm use` in the project root before any yarn command. Yarn 1 aborts every yarn command when the engine check fails.
Clone the repository and run:
```bash
# Install dependencies
yarn install
# Start the development environment
yarn dev
# Open in your browser
http://localhost:8080
```
## Contributing
We welcome contributions. See [CONTRIBUTING.md](CONTRIBUTING.md) for how to report bugs, propose features, and submit pull requests. Please follow our [Code of Conduct](CODE_OF_CONDUCT.md).
## Contributors
Thanks to all our amazing contributors! 🎉
towerz
flavioribeiro
leandromoreira
joaopaulovieira
tjenkinson
leaofelipe
jhonatangcavalcanti
tchakabam
kslimani
thiagopnts
dayvson
pedrochamberlain
bikegriffith
vagnervjs
barbosa
felipecesr
fecampi
ronag
andrefilimono
paluh
davidjb
NicholasAsimov
gamtiq
afonsocdaniel
leftees
hounvs
ariselseng
stanogurnik
guilhermebruzzi
amanda-bmelo
michaelcunningham19
rheber
luanraithz
mrlika
breim
sjlu
raphamorim
avreg
alvynmcq
argoilves
svanscho
leonardocardoso
me-vlad
wahajdar
leticiafernandes
lucasrodcosta
RussCoder
paulocesarjr
luzeduardo
otmjka
hexray-newbee
derrod
gitter-badger
seanhussey
rolandstarke
rcmachado
Niko78
MartinKolarik
MTRNord
jussike
kad3nce
jlmcdonald
revolter
gbarrostv
emilepommier
3dd13
bent0b0x
wijloc
mainadapter
lucasbraganca-tw
liamsegura
shaharmor
PNixx
kolpax
arielfurtado
chooh
ogunkarakus
nicolaswalcker
ahmadmayahi
celiolatorraca
chriswiggins
diegosperes
skrater
medeeiros
jfairley
markx
KingHorse2015
moni33
LiShiSangZi
CommanderRoot
timgates42
rpadovani
Rakesh9100
nemesisqp
Bugadinho
Lucbm99
hugocm99
giselylucas-tw
fabiohcnobre
Snoopynha
Bubblesphere
brinobruno
brunacm-dev
poshe
Ronkiro
Abubakrce19
ahu
See the full list on our [contributors page](https://github.com/clappr/clappr/graphs/contributors).
## Security
Found a vulnerability? Please do not open a public issue — see our [Security Policy](SECURITY.md) for how to report it privately and what falls in scope.
## License
[BSD-3-Clause](LICENSE) © Globo.com