# redxplyr
redxplyr is an accessible media player for HTML5 video, HTML5 audio, HLS streams, YouTube embeds and Vimeo embeds.
Project owner: xgauravyaduvanshii
Email: xgauravyaduvanshii@gmail.com
Website: https://redxplyr.flyingdarkdev.com
Repository: https://github.com/xgauravyaduvanshii/redxplyr
License: MIT
## Preferred CDN
Use the v1 channel:
- CSS: https://redxplyr.flyingdarkdev.com/v1/redxplyr.css
- UMD JavaScript: https://redxplyr.flyingdarkdev.com/v1/redxplyr.js
- ES module: https://redxplyr.flyingdarkdev.com/v1/redxplyr.mjs
- Icon sprite: https://redxplyr.flyingdarkdev.com/v1/redxplyr.svg
The package version is 1.0.0. The CDN channel is v1.
## Browser Setup
```html
```
## Package Setup
```bash
pnpm add @cloudnest/redxplyr
```
```js
import RedxPlyr from '@cloudnest/redxplyr';
import '@cloudnest/redxplyr/dist/redxplyr.css';
const player = new RedxPlyr('#player', {
captions: { active: true },
controls: ['play-large', 'play', 'progress', 'current-time', 'mute', 'volume', 'settings', 'fullscreen'],
});
```
## Supported Sources
- HTML5 video: use a `