This repository contains the Bitmovin Player UI framework. It is designed as a flexible and modularized layer on the player API, enabling customers and users of the player to easily customize the UI to their needs in design, structure, and functionality. It makes it extremely easy and straightforward to add additional control components and we encourage our users to proactively contribute to our codebase.
Read more about the Framework, its usage and customization possibilities in our developer documentation and the API documentation.
The UI framework is also available through the following distribution channels:
The UI framework and default skin bundled with the latest player release are always available via CDN. This is the recommended way if you just want to work with the predefined UI components. All components will be available in the bitmovin.playerui namespace.
- JavaScript library:
https://cdn.jsdelivr.net/npm/bitmovin-player-ui@4/dist/js/bitmovinplayer-ui.js - CSS file:
https://cdn.jsdelivr.net/npm/bitmovin-player-ui@4/dist/css/bitmovinplayer-ui.css
The UI framework is also available in the NPM repository and comes with all source and distributable files, JavaScript modules and TypeScript type definitions.
npm install bitmovin-player-ui
- Clone Git repository
- Install node.js
- Install required npm packages:
npm ci - Run
npm runto see available scripts
npm startto open test page in browser, build and reload changed files automaticallynpm run buildto build project intodistdirectory without minificationnpm run build:prodto build project with minified files intodistdirectorynpm run lintto lint TypeScript and SASS filesnpm testto run the test suitenpm run formatto format all files with prettiernpm run docsto generate the HTML documentation
To take a look at the project, run npm run start. For changes, check our CHANGELOG. This UI framework version is for player v8.
The UI playground can be launched with npm start and opens a page in a local browser window. On this page, you can switch between different sources and UI styles, trigger API actions and observe events.
This page recompiles and reloads files automatically when any .scss or .ts files are modified. It makes a helpful tool for developing and testing the UI.
Pull requests are welcome! Please check the contribution guidelines.