Package Exports
- player.style/demuxed-2022
- player.style/demuxed-2022.js
- player.style/demuxed-2022/react
- player.style/halloween
- player.style/halloween.js
- player.style/halloween/react
- player.style/instaplay
- player.style/instaplay.js
- player.style/instaplay/react
- player.style/microvideo
- player.style/microvideo.js
- player.style/microvideo/react
- player.style/minimal
- player.style/minimal.js
- player.style/minimal/react
- player.style/notflix
- player.style/notflix.js
- player.style/notflix/react
- player.style/reelplay
- player.style/reelplay.js
- player.style/reelplay/react
- player.style/sutro
- player.style/sutro-audio
- player.style/sutro-audio.js
- player.style/sutro-audio/react
- player.style/sutro.js
- player.style/sutro/react
- player.style/tailwind-audio
- player.style/tailwind-audio.js
- player.style/tailwind-audio/react
- player.style/vimeonova
- player.style/vimeonova.js
- player.style/vimeonova/react
- player.style/winamp
- player.style/winamp.js
- player.style/winamp/react
- player.style/x-mas
- player.style/x-mas.js
- player.style/x-mas/react
- player.style/yt
- player.style/yt.js
- player.style/yt/react
Readme
player.style
Video and audio player themes built with Media Chrome, for every web player and framework.
Visit player.style.
Local Development
This is a monorepo that uses NPM workspaces and Turbo. The root package is also a published package, which currently prevents having identically named NPM scripts in both the root and workspace packages.
For this reason we use the turbo
CLI directly in the root directory.
- Install Turbo globally:
npm install -g turbo
- Clone the repository
- Run
npm install
- Run
turbo build
Handling Dependency Conflicts with media-chrome
If your project already includes media-chrome
and you encounter dependency conflicts, you can override the resolution to ensure compatibility.
Solution: Using overrides
in package.json
(for npm 8+)
If you're using npm 8 or later, you can enforce a specific version of media-chrome
in your package.json
by adding an overrides
field:
{
"overrides": {
"media-chrome": "<your-desired-version>"
}
}
If you’re using Yarn, you can enforce a specific version with the resolutions field:
{
"resolutions": {
"media-chrome": "<your-desired-version>"
}
}