# @playkit-js/ui-managers

> * playkit-js-ui-managers

Latest version **1.9.4** (published 2026-10-18) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install @playkit-js/ui-managers
pnpm add @playkit-js/ui-managers
yarn add @playkit-js/ui-managers
bun add @playkit-js/ui-managers
```

## Health

**Score 65/100 (B)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score; high quality score.

Warnings: low downloads; no esm support.

## Facts

| | |
|---|---|
| Version | 1.9.4 |
| Published | 2026-10-18 |
| First published | 2022-05-31 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 659.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Jonathan T. Gold |
| Maintainers | orenme, adi-mach-kaltura, shai.kaltura, eransakalkaltura, semarche, playkitjs.bot |
| Keywords | @playkit-js/ui-managers, ui-managers, kaltura, player, side-panels, uper-bar, playkit-js |

## Links

- npm: https://www.npmjs.com/package/@playkit-js/ui-managers
- Repository: https://github.com/kaltura/playkit-js-ui-managers
- Homepage: https://github.com/kaltura/playkit-js-ui-managers#readme
- Issues: https://github.com/kaltura/playkit-js-ui-managers/issues
- npm.io page: https://npm.io/package/@playkit-js/ui-managers

## Dependencies (3)

- [@playkit-js/common](https://npm.io/package/@playkit-js/common.md) 1.5.22
- [preact-render-to-string](https://npm.io/package/preact-render-to-string.md) ^6.5.11
- [@playkit-js/webpack-common](https://npm.io/package/@playkit-js/webpack-common.md) ^1.0.3

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.9.4 (latest) — 2026-10-18
- 1.9.4-canary.0-9d180cf (canary) — 2026-10-15
- 1.9.4-canary.0-22f0f8e — 2026-10-14
- 1.9.3 — 2026-09-24
- 1.9.3-canary.0-bb52741 — 2026-09-14
- 1.9.3-canary.0-9067157 — 2026-09-07
- 1.9.2 — 2026-09-03
- 1.9.2-canary.0-ead7386 — 2026-09-01
- 1.9.2-canary.0-360e39e — 2026-08-31
- 1.9.1 — 2026-08-28
- 1.9.1-canary.0-614028b — 2026-08-24
- 1.9.1-canary.0-9dbd883 — 2026-08-17
- 1.9.0 — 2026-06-04
- 1.9.0-canary.0-3775a7c — 2026-05-25
- 1.8.6-canary.0-8ef38e1 — 2026-04-28
- … 125 more at https://npm.io/package/@playkit-js/ui-managers/versions

## README

# PlayKit JS UI Managers - Kaltura UI Managers for the [Kaltura Player JS]

* playkit-js-ui-managers

[![Build Status](https://github.com/kaltura/playkit-js-ui-managers/actions/workflows/run_canary_full_flow.yaml/badge.svg)](https://github.com/kaltura/playkit-js-ui-managers/actions/workflows/run_canary_full_flow.yaml)
[![](https://img.shields.io/npm/v/@playkit-js/ui-managers/latest.svg)](https://www.npmjs.com/package/@playkit-js/ui-managers)
[![](https://img.shields.io/npm/v/@playkit-js/ui-managers/canary.svg)](https://www.npmjs.com/package/@playkit-js/ui-managers/v/canary)

playkit-js-ui-managers is a [kaltura player] plugin that groups several UI services,
in order to simplify and facilitate the customization of the [kaltura player] UI by providing a simple and clean API.

Each service manages a different area of UI functionality.

It relies on [kaltura player] core API for managing UI features.

playkit-js-ui-managers is written in [ECMAScript6] (`*.js`) and [TypeScript] (`*.ts`) (strongly typed superset of ES6), 
and transpiled in ECMAScript5 using [Babel](https://babeljs.io/) and the [TypeScript compiler].

[Webpack] is used to build the distro bundle and serve the local development environment.

[kaltura player]: https://github.com/kaltura/kaltura-player-js.
[ecmascript6]: https://github.com/ericdouglas/ES6-Learning#articles--tutorials
[typescript]: https://www.typescriptlang.org/
[typescript compiler]: https://www.typescriptlang.org/docs/handbook/compiler-options.html
[webpack]: https://webpack.js.org/

## services

- ### Side Panels
  Manages and controls the side panel, including: 
  
  - When an item is activated in a panel, the other items in that panel are automatically deactivated.
  - Automatically deactivates a panel when its counter panel is activated.
  
    Full API documentation can be found [here](https://kaltura.github.io/playkit-js-ui-managers/docs/api/classes/services_upper_bar_manager_upper_bar_manager.UpperBarManager.html)
  
- ### Upper bar manager
  Manages and controls the upper bar menu, including: 
  
  - Setting the order in which icons are shown.
  - Increasing and decreasing the number of icons that appear depending on the size of the player\
  
    Full API documentation can be found [here](https://kaltura.github.io/playkit-js-ui-managers/docs/api/classes/services_side_panels_manager_side_panels_manager.SidePanelsManager.html)
    
## Getting started with development

```sh
# First, checkout the repository and install the required dependencies
git clone https://github.com/kaltura/playkit-js-ui-managers.git

# Navigate to the repo dir
cd playkit-js-ui-managers

# Run dev-server for demo page (recompiles on file-watch, and write to actual dist fs artifacts)
npm run dev

# Before submitting a PR - Run the pre commit command
npm run pre:commit

# this command will run:

# 1. types check
# 2. lint check
# 3. generate/update types
# 4. generate/update docs
```

The dev server will host files on port 8000. Once started, the demo can be found running at http://localhost:8000/.

Before submitting a PR, please see our [contribution guidelines](CONTRIBUTING.md).


### Linter (ESlint)

Run linter:

```
npm run lint:check
```

Run linter with auto-fix mode:

```
npm run lint:fix
```

### Formatting Code

Run prettier to format code

```
npm run prettier:fix
```

### Type Check

Run type-check to verify TypeScript types

```
npm run types:check
```

### Automated tests (Mocha/Karma)

Run all tests at once:

```
npm test
```

Run unit tests in watch mode:

```
npm run test:watch
```

## Design

An overview of this project's design, can be found [here](https://kaltura.atlassian.net/wiki/spaces/PROD/pages/3554412657/Side+Panel+Manager+-+Design+Document).

## API docs

[API docs](https://kaltura.github.io/playkit-js-ui-managers/docs/api/index.html)

## Usage guide

[usage guide](./docs/guide.md)

## Demo

[https://kaltura.github.io/playkit-js-ui-managers/demo/index.html](https://kaltura.github.io/playkit-js-ui-managers/demo/index.html)


## Compatibility

playkit-js-ui-managers is only compatible with browsers supporting MediaSource extensions (MSE) API with 'video/MP4' mime-type inputs.

playkit-js-ui-managers is supported on:

- Chrome 39+ for Android
- Chrome 39+ for Desktop
- Firefox 41+ for Android
- Firefox 42+ for Desktop
- IE11 for Windows 8.1+
- Edge for Windows 10+
- Safari 8+ for MacOS 10.10+
- Safari for ipadOS 13+

## License

playkit-js-ui-managers is released under [Apache 2.0 License](LICENSE)

---
_Source: https://npm.io/package/@playkit-js/ui-managers · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
