@playkit-js/like
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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] (*.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.

Prerequisites

The plugin requires [Kaltura Player] and [playkit-ui-managers] to be loaded first. [kaltura player]: https://github.com/kaltura/kaltura-player-js [playkit-ui-managers]: https://github.com/kaltura/playkit-js-ui-managers

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

Package Sidebar

Install

npm i @playkit-js/like

Weekly Downloads

1

Version

1.0.2

License

Apache-2.0

Unpacked Size

104 kB

Total Files

6

Last publish

Collaborators

  • orenme
  • adi-mach-kaltura
  • shai.kaltura
  • eransakalkaltura
  • semarche
  • playkitjs.bot