1.0.2 • Published 10 months ago

@playkit-js/like v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
10 months ago

playkit-js-like

playkit-js-like is a kaltura player which allows to click Like button on the video

It relies on kaltura player core API for managing UI features. Written in ECMAScript6 and TypeScript (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.

Prerequisites

The plugin requires Kaltura Player and playkit-ui-managers to be loaded first.

Features

Getting started with development

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

# Navigate to the repo dir
cd playkit-js-like

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

How to config at Prod

plugins: {
  like: {},
}

Demo

https://kaltura.github.io/playkit-js-like/demo/index.html

Compatibility

playkit-js-plugin-example is only compatible with browsers supporting MediaSource extensions (MSE) API with 'video/MP4' mime-type inputs. playkit-js-plugin-example 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-like is released under Apache 2.0 License