Video and audio player themes built with Media Chrome, for every web player and framework.
Visit player.style.
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
If your project already includes media-chrome
and you encounter dependency conflicts, you can override the resolution to ensure compatibility.
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>"
}
}