Package detail

@playkit-js/ui-managers

kaltura354Apache-2.01.8.2

  • playkit-js-ui-managers

@playkit-js/ui-managers, ui-managers, kaltura, player

readme

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

  • playkit-js-ui-managers

Build Status

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 and the TypeScript compiler.

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

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

  • 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

Getting started with development

# 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.

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.

API docs

API docs

Usage guide

usage guide

Demo

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

changelog

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

1.8.2 (2025-05-22)

Bug Fixes

1.8.1 (2025-04-24)

Bug Fixes

  • ADA-1733: Announce Toast Notifications (#78) (a779015)

1.8.0 (2025-03-06)

Features

1.7.0 (2025-01-23)

Features

  • FEC-14239: Rename Catalan locale from ca to ca_es (#71) (922ea40)

1.6.4 (2024-12-19)

Bug Fixes

1.6.3 (2024-11-28)

Bug Fixes

1.6.2 (2024-11-14)

Bug Fixes

  • ADA-1777: University of Illinois Urbana-Champaign (ADA) V7 player issues Priority 2(#8) transcript panel does not immediately follow the toggle button (#66) (9634d47)

1.6.1 (2024-10-13)

Bug Fixes

1.6.0 (2024-08-03)

Features

  • FEC-13945: move core controls to upper bar (#59) (1db6d1b)

1.5.6 (2024-06-30)

Bug Fixes

1.5.5 (2024-06-17)

1.5.4 (2024-06-13)

Bug Fixes

  • FEC-13991: handle initial size of detach window (#57) (596cd86)

1.5.3 (2024-05-19)

Bug Fixes

  • FEC-13709: remove player top bar if there is no content in it (#53) (e0a5641)

1.5.2 (2024-02-04)

Bug Fixes

  • FEC-13517: Wrong and inconsistent order of plugins & Plugins buttons sometimes display with the wrong icon (#51) (281cb2a)

1.5.1 (2024-01-22)

1.5.0 (2023-12-19)

Features

  • FEC-13515: change position and design of the toast comp (#50) (06fd674)

1.4.2 (2023-12-07)

Bug Fixes

  • FEC-13502: add more specific key for dropdown icons (#47) (417b1bc)

1.4.1 (2023-11-12)

1.4.0 (2023-11-12)

Features

1.3.14 (2023-09-11)

1.3.13 (2023-07-26)

1.3.11 (2023-06-12)

Bug Fixes

  • FEC-13214: Top Bar Dropdown menu are not auto closed on Transcript or Navigation icon clicked (#40) (c68a896)

1.3.10 (2023-06-06)

Bug Fixes

  • FEC-13176: The icons in the more plugin are incorrect (8aec7a5)

1.3.9 (2023-05-17)

Bug Fixes

  • FEC-13123: replace travis with github actions (#36) (01b272e)

1.3.8 (2023-05-10)

Bug Fixes

  • FEC-13123: replace travis with github actions (#35) (e71b379)

1.3.7 (2023-05-10)

Bug Fixes

  • FEC-13145: upgrade dependancies for common and ui-managers (fd6760c)

1.3.6 (2023-05-03)

1.3.5 (2023-03-22)

Bug Fixes

  • FEC-12737: There is no aria-label for "more plugins" (#26) (b18d325)
  • FEC-13027: CSS is bundled without neither a prefix and nor a hash which pollute the global namespace (#27) (89ce03c)

1.3.4 (2023-01-26)

Bug Fixes

  • FEV-1653: when switch from Live entry to VOD then back to Live, all plugins icons are missing (#24) (d014b9a)

1.3.3 (2023-01-25)

Bug Fixes

  • FEC-12880: UI Managers - update sass vars name imported from playkit-js-ui (#23) (91ca135)

1.3.2 (2022-12-28)

Bug Fixes

  • FEC-12793: Propagate keyboard event (#22) (60e7cbf)

1.3.1 (2022-12-07)

Bug Fixes

1.3.0 (2022-10-03)

Features

Bug Fixes

1.2.2 (2022-08-04)

Bug Fixes

  • FEC-12132: Add documentation (#8) (b3b9e3e)
  • FEC-12335: Side Panel Item gets refreshed in every 'change media' (#9) (56062b7)

1.2.1 (2022-06-09)

1.2.0 (2022-06-09)

Features

Bug Fixes

  • FEC-12299: Fix CI CD scripts (#5) (0ecca43)
  • FEC-12303: Side panel Hight is not the 100% of his placeholder container by Default (#7) (a79f700)

1.1.0 (2022-06-09)

Features

Bug Fixes

  • FEC-12299: Fix CI CD scripts (#5) (0ecca43)
  • FEC-12303: Side panel Hight is not the 100% of his placeholder container by Default (#7) (a79f700)