# playerx [![NPM Version](https://img.shields.io/npm/v/playerx?style=flat-square&color=informational)](https://www.npmjs.com/package/playerx) [![NPM Downloads](https://img.shields.io/npm/dm/playerx?style=flat-square&color=informational&label=npm)](https://www.npmjs.com/package/playerx) [![jsDelivr hits (npm)](https://img.shields.io/jsdelivr/npm/hm/playerx?style=flat-square&color=%23FF5627)](https://www.jsdelivr.com/package/npm/playerx) [![npm bundle size](https://img.shields.io/bundlephobia/minzip/playerx?style=flat-square&color=success&label=gzip)](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 [`