#
[](https://www.npmjs.com/package/playerx)
[](https://www.npmjs.com/package/playerx)
[](https://www.jsdelivr.com/package/npm/playerx)
[](https://bundlephobia.com/result?p=playerx)
**npm**: `npm i playerx`
**cdn**: https://cdn.jsdelivr.net/npm/playerx/+esm
## Features
- 🏄♂️ Compatible [`HTMLMediaElement`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement) API
- 🕺 Seamlessly integrates with [Media Chrome](https://github.com/muxinc/media-chrome)
## Usage ([Codesandbox](https://codesandbox.io/s/hello-playerx-22ku4))
```html
```
Demo page: [dev.playerx.io/demo](https://dev.playerx.io/demo/)
## Supported media
* Mux videos use the [Mux Player API](https://github.com/muxinc/elements/blob/main/packages/mux-player/REFERENCE.md)
* YouTube videos use the [YouTube iFrame Player API](https://developers.google.com/youtube/iframe_api_reference)
* Vimeo videos use the [Vimeo Player API](https://developer.vimeo.com/player/sdk)
* Wistia videos use the [Wistia Player API](https://wistia.com/doc/player-api)
* JW Player videos use the [JW Player API](https://developer.jwplayer.com/jwplayer/docs/jw8-javascript-api-reference)
* [Supported file types](https://developer.mozilla.org/en-US/docs/Web/HTML/Supported_media_formats) are playing using [`