JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11
  • Score
    100M100P100Q45278F
  • License AGPL-3.0

Plugin that displays a configurable banner at the center of the player screen if any problems with playback are detected

Package Exports

  • @playkit-js/plugin-playback-issue-banner
  • @playkit-js/plugin-playback-issue-banner/dist/playkit-playback-issue-banner.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@playkit-js/plugin-playback-issue-banner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

playkit-js-playback-issue-banner

playkit-js-playback-issue-banner is a kaltura player plugin that displays a configurable banner at the center of the player screen if any problems with playback are detected

playkit-js-playback-issue-banner 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.

Getting started with development

# First, checkout the repository and install the required dependencies
git clone https://github.com/Kaltura-PS/playkit-js-playback-issue-banner.git

# Navigate to the repo dir
cd playkit-js-playback-issue-banner

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

Solution Document

An overview of this project's design, can be found here.