PHPackages                             videojs/video.js - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Image &amp; Media](/categories/media)
4. /
5. videojs/video.js

ActiveLibrary[Image &amp; Media](/categories/media)

videojs/video.js
================

An HTML5 video player.

v8.23.8(3mo ago)39.6k24.3k—0%7.5k[600 issues](https://github.com/videojs/video.js/issues)[36 PRs](https://github.com/videojs/video.js/pulls)Apache-2.0JavaScriptCI passing

Since Aug 6Pushed 2mo ago1.2k watchersCompare

[ Source](https://github.com/videojs/video.js)[ Packagist](https://packagist.org/packages/videojs/video.js)[ Docs](https://www.videojs.com/)[ RSS](/packages/videojs-videojs/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)DependenciesVersions (462)Used By (0)

[![Video.js logo](https://camo.githubusercontent.com/d46a7539cc8c0e024c4367309e3a6a66b047863483a1f0f56566852a5135d5de/68747470733a2f2f766964656f6a732e636f6d2f6c6f676f2d77686974652e706e67)](https://videojs.com)

Video.js - Web Video Player &amp; Framework
===========================================

[](#videojs---web-video-player--framework)

[![NPM](https://camo.githubusercontent.com/9b4a6b489cdd1827a1eb15d65fddb686fbc1e172d4578c65ac62c0fe7f02ce1a/68747470733a2f2f6e6f6465692e636f2f6e706d2f766964656f2e6a732e706e673f646f776e6c6f6164733d7472756526646f776e6c6f616452616e6b3d74727565)](https://nodei.co/npm/video.js/)

**Update:** Big changes coming in Video.js 10, early 2026! [Read the discussion.](https://github.com/videojs/video.js/discussions/9035)

Video.js is a full featured, open source video player for all web-based platforms.

Right out of the box, Video.js supports all common media formats used on the web including streaming formats like HLS and DASH. It works on desktops, mobile devices, tablets, and web-based Smart TVs. It can be further extended and customized by a robust ecosystem of [plugins](https://videojs.com/plugins/).

Video.js was started in May 2010 and since then:

- Millions of websites have used VideoJS over time (source [Builtwith](https://trends.builtwith.com/media/VideoJS))
- Billions of end-users every month of just the CDN-hosted copy (source Fastly stats)
- 900+ amazing contributors to the video.js core
- Hundreds of [plugins](https://videojs.com/plugins/)

Table of Contents
-----------------

[](#table-of-contents)

- [Quick Start](#quick-start)
- [Contributing](#contributing)
- [Code of Conduct](#code-of-conduct)
- [License](#license)
- [Sponsorship](#sponsorship)

[Quick Start](https://videojs.com/getting-started/)
---------------------------------------------------

[](#quick-start)

Thanks to the awesome folks over at [Fastly](https://www.fastly.com/), there's a free, CDN hosted version of Video.js that anyone can use. Add these tags to your document's ``:

```

```

Alternatively, you can include Video.js by getting it from [npm](https://videojs.com/getting-started/#install-via-npm), downloading it from [GitHub releases](https://github.com/videojs/video.js/releases) or by including it via [unpkg](https://unpkg.com) or another JavaScript CDN, like CDNjs.

```

```

Next, using Video.js is as simple as creating a `` element, but with an additional `data-setup` attribute. At a minimum, this attribute must have a value of `'{}'`, but it can include any Video.js [options](https://videojs.com/guides/options/) - just make sure it contains valid JSON!

```

    To view this video please enable JavaScript, and consider upgrading to a
    web browser that

      supports HTML5 video

```

When the page loads, Video.js will find this element and automatically setup a player in its place.

If you don't want to use automatic setup, you can leave off the `data-setup` attribute and initialize a `` element manually using the `videojs` function:

```
var player = videojs('my-player');
```

The `videojs` function also accepts an `options` object and a callback to be invoked when the player is ready:

```
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.
  this.play();

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

If you're ready to dive in, the [Getting Started](https://videojs.com/getting-started/) page and [documentation](https://docs.videojs.com) are the best places to go for more information. If you get stuck, head over to our [Slack](https://slack.videojs.com)!

[Contributing](https://github.com/videojs/admin/blob/main/CONTRIBUTING.md)
--------------------------------------------------------------------------

[](#contributing)

Video.js is a free and open source library, and we appreciate any help you're willing to give - whether it's fixing bugs, improving documentation, or suggesting new features. Check out the [contributing guide](https://github.com/videojs/admin/blob/main/CONTRIBUTING.md) for more! Contributions and project decisions are overseen by the [Video.js Technical Steering Committee (TSC)](https://github.com/videojs/admin/blob/main/GOVERNANCE.md).

By submitting a pull request, you agree that your contribution is provided under the [Apache 2.0 License](LICENSE) and may be included in future releases. No contributor license agreement (CLA) has ever been required for contributions to Video.js. See the [Developer's Certificate of Origin 1.1 ](https://github.com/videojs/admin/blob/main/CONTRIBUTING.md#developers-certificate-of-origin-11).

[Code of Conduct](https://github.com/videojs/admin/blob/main/CODE_OF_CONDUCT.md)
--------------------------------------------------------------------------------

[](#code-of-conduct)

Please note that this project is released with a [Contributor Code of Conduct](https://github.com/videojs/admin/blob/main/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

[License](LICENSE)
------------------

[](#license)

Video.js is [licensed](LICENSE) under the Apache License, Version 2.0. "Video.js" is a registered trademark of [Brightcove, Inc](https://www.brightcove.com/).

Sponsorship
-----------

[](#sponsorship)

Project development is sponsored by the role of [Corporate Shepherd](https://github.com/videojs/admin/blob/main/GOVERNANCE.md#corporate-shepherd), held by various companies throughout the project history:

- 2010-2012: Zencoder Inc.
- 2013-2025: [Brightcove Inc.](https://www.brightcove.com/)
- 2025-present: [Mux Inc.](https://www.mux.com/)

Video.js uses [BrowserStack](https://browserstack.com) for compatibility testing.

The free CDN-hosted copy of the libray is sponsored by [Fastly](https://www.fastly.com/).

Website hosting is sponsored by [Netlify](https://www.netlify.com)

###  Health Score

72

—

ExcellentBetter than 100% of packages

Maintenance84

Actively maintained with recent releases

Popularity65

Solid adoption and visibility

Community46

Growing community involvement

Maturity83

Battle-tested with a long release history

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~9 days

Recently: every ~48 days

Total

450

Last Release

96d ago

Major Versions

v7.21.3 → v8.1.12023-02-28

v7.21.4 → v8.3.02023-04-05

v7.21.5 → v8.5.22023-08-14

v7.21.6 → v8.14.12024-05-30

7.x-dev → v8.23.12025-04-15

### Community

Maintainers

![](https://www.gravatar.com/avatar/d4b4f19179ef84b3e8cf0f753a8ea5a84856e851bef0b91c0f69c598fd0973aa?d=identicon)[heff](/maintainers/heff)

---

Top Contributors

[![heff](https://avatars.githubusercontent.com/u/166?v=4)](https://github.com/heff "heff (1301 commits)")[![gkatsev](https://avatars.githubusercontent.com/u/535884?v=4)](https://github.com/gkatsev "gkatsev (821 commits)")[![brandonocasey](https://avatars.githubusercontent.com/u/2381475?v=4)](https://github.com/brandonocasey "brandonocasey (174 commits)")[![mister-ben](https://avatars.githubusercontent.com/u/1676039?v=4)](https://github.com/mister-ben "mister-ben (154 commits)")[![misteroneill](https://avatars.githubusercontent.com/u/214723?v=4)](https://github.com/misteroneill "misteroneill (152 commits)")[![dmlap](https://avatars.githubusercontent.com/u/56667?v=4)](https://github.com/dmlap "dmlap (121 commits)")[![mmcc](https://avatars.githubusercontent.com/u/794988?v=4)](https://github.com/mmcc "mmcc (117 commits)")[![greenkeeper[bot]](https://avatars.githubusercontent.com/in/505?v=4)](https://github.com/greenkeeper[bot] "greenkeeper[bot] (95 commits)")[![OwenEdwards](https://avatars.githubusercontent.com/u/2245205?v=4)](https://github.com/OwenEdwards "OwenEdwards (47 commits)")[![alex-barstow](https://avatars.githubusercontent.com/u/20497452?v=4)](https://github.com/alex-barstow "alex-barstow (41 commits)")[![gjanblaszczyk](https://avatars.githubusercontent.com/u/5346546?v=4)](https://github.com/gjanblaszczyk "gjanblaszczyk (39 commits)")[![amtins](https://avatars.githubusercontent.com/u/34163393?v=4)](https://github.com/amtins "amtins (38 commits)")[![wseymour15](https://avatars.githubusercontent.com/u/26021721?v=4)](https://github.com/wseymour15 "wseymour15 (25 commits)")[![thijstriemstra](https://avatars.githubusercontent.com/u/305679?v=4)](https://github.com/thijstriemstra "thijstriemstra (21 commits)")[![ItsBenCodes](https://avatars.githubusercontent.com/u/280982?v=4)](https://github.com/ItsBenCodes "ItsBenCodes (17 commits)")[![Essk](https://avatars.githubusercontent.com/u/1606002?v=4)](https://github.com/Essk "Essk (16 commits)")[![jrw95](https://avatars.githubusercontent.com/u/359060?v=4)](https://github.com/jrw95 "jrw95 (16 commits)")[![dzianis-dashkevich](https://avatars.githubusercontent.com/u/98566601?v=4)](https://github.com/dzianis-dashkevich "dzianis-dashkevich (16 commits)")[![kocoten1992](https://avatars.githubusercontent.com/u/7130705?v=4)](https://github.com/kocoten1992 "kocoten1992 (15 commits)")[![adrums86](https://avatars.githubusercontent.com/u/10353591?v=4)](https://github.com/adrums86 "adrums86 (14 commits)")

---

Tags

dashhlshtmlhtml5html5-audiohtml5-videojavascriptplayervideovideo-playervideojsHTML5videoplayervideojs

### Embed Badge

![Health badge](/badges/videojs-videojs/health.svg)

```
[![Health](https://phpackages.com/badges/videojs-videojs/health.svg)](https://phpackages.com/packages/videojs-videojs)
```

###  Alternatives

[happyworm/jplayer

jPlayer allows you to create a media player with a consistent interface and experience across all browsers.

4.6k114.2k1](/packages/happyworm-jplayer)[php-ffmpeg/php-ffmpeg

FFMpeg PHP, an Object Oriented library to communicate with AVconv / ffmpeg

5.0k21.7M165](/packages/php-ffmpeg-php-ffmpeg)[laravel-admin-ext/media-player

Intergrates mediaelement into laravel-admin

3253.7k](/packages/laravel-admin-ext-media-player)[fg/multiplayer

Builds customizable video embed codes from any URL.

446.8k1](/packages/fg-multiplayer)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
