open-index/open-npm huggingface dataset:
npm package: @playkit-js/common
Description: Pack of utils and ui-components for V7 player and plugins
Latest version: 1.5.27

# playkit-js-common

[![Build Status](https://github.com/kaltura/playkit-js-common/actions/workflows/canary.yaml/badge.svg)](https://github.com/kaltura/playkit-js-common/actions/workflows/canary.yaml)
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
[![](https://img.shields.io/npm/v/@playkit-js/common/latest.svg)](https://www.npmjs.com/package/@playkit-js/common)
[![](https://img.shields.io/npm/v/@playkit-js/common/canary.svg)](https://www.npmjs.com/package/@playkit-js/common/v/canary)

Pack of utils and ui-components for V7 player and plugins.

## Storybook page

https://kaltura.github.io/playkit-js-common

## How to use

1. add `@playkit-js/common` into project dependencies (`npm install @playkit-js/common` or if yarn uses `yarn add @playkit-js/common`)
2. import methods, classes or components to project, f.e: `import { A11yWrapper } from '@playkit-js/common/dist/hoc/a11y-wrapper';`

## Scripts

- `build` build modules
- `dev` watch on file changes and build modules
- `release` bump package version and add changes from commits into CHANGELOG
- `pushTaggedRelease` push latest tag to GitHub repo
- `storybook:install` install dependencies of storybook submodule
- `storybook` run dev-server for storybook (https://storybook.js.org/docs/preact/get-started/introduction)
- `storybook:build` create static files for storybook
- `storybook:deploy` push storybook static files to GitHub pages
npm package: @playkit-js/like
Description: playkit-js-like is a [kaltura player] which allows to click Like button on the video
Author: Adi Machmali
Latest version: 1.0.2

# 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](https://babeljs.io/) 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

```sh
# 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](https://kaltura.github.io/playkit-js-plugin-example/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](LICENSE)
npm package: @playkit-js/marketo-events
Description: [![Build Status](https://app.travis-ci.com/Kaltura-PS/playkit-js-marketo-events.svg?branch=main)](https://app.travis-ci.com/Kaltura-PS/playkit-js-marketo-events) [![](https://img.shields.io/npm/v/@playkit-js/marketo-events/latest.svg)](https://www.npmjs.c
Author: Kaltura PS
Latest version: 0.2.6
npm package: @playkit-js/playkit-advanced-audio-description
Description: [![Build Status](https://github.com/Kaltura-PS/playkit-js-advanced-audio-description/actions/workflows/run_canary_full_flow.yaml/badge.svg)](https://github.com/Kaltura-PS/playkit-js-advanced-audio-description/actions/workflows/run_canary_full_flow.yaml) [
Author: Adi Machmali
Latest version: 1.0.1-canary.0-65c284a
npm package: @playkit-js/plugin-advanced-audio-description
Description: [![Build Status](https://app.travis-ci.com/kaltura/playkit-plugin-advanced-audio-description.js.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-plugin-advanced-audio-description.js) [![](https://img.shields.io/npm/v/@playkit-js/plugin-advanc
Author: Adi Machmali
Latest version: 1.0.1-canary.0-03cde22
npm package: @playkit-js/plugin-example
Description: [![Build Status](https://app.travis-ci.com/kaltura/playkit-js-plugin-example.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-js-plugin-example) [![](https://img.shields.io/npm/v/@playkit-js/plugin-example/latest.svg)](https://www.npmjs.com/p
Author: Jonathan T. Gold
Latest version: 1.0.1-canary.0-a04a86f
npm package: @playkit-js/plugin-prevent-forward-seeks
Description: [![Build Status](https://app.travis-ci.com/kaltura/playkit-plugin-prevent-forward-seeks.js.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-plugin-prevent-forward-seeks.js) [![](https://img.shields.io/npm/v/@playkit-js/plugin-prevent-forward-
Author: Adi Machmali
Latest version: 1.0.1-canary.0-0538bc5
npm package: @playkit-js/prevent-forward-seeks
Description: [![Build Status](https://app.travis-ci.com/kaltura/playkit-plugin-prevent-forward-seeks.js.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-plugin-prevent-forward-seeks.js) [![](https://img.shields.io/npm/v/@playkit-js/plugin-prevent-forward-
Author: Adi Machmali
Latest version: 1.0.4

[![Build Status](https://app.travis-ci.com/kaltura/playkit-plugin-prevent-forward-seeks.js.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-plugin-prevent-forward-seeks.js)
[![](https://img.shields.io/npm/v/@playkit-js/plugin-prevent-forward-seeks.js/latest.svg)](https://www.npmjs.com/package/@playkit-js/plugin-prevent-forward-seeks.js)
[![](https://img.shields.io/npm/v/@playkit-js/plugin-prevent-forward-seeks.js/canary.svg)](https://www.npmjs.com/package/@playkit-js/plugin-prevent-forward-seeks.js/v/canary)

# playkit-js-prevent-forward-seeks

playkit-js-prevent-forward-seeks is a [kaltura player] plugin that prevent forward/ all seeks in these cases:
if isActive is true and Metadata Exists => let the metadata decide if this feature is on;
else take value from isActive

The default is to prevent forward seeks if the feature is ON. To disable all seeks turn this flat into true:

```js
disableAllSeeks: true;
```

## Features

This plugin prevents forward seek in these cases:
if isActive is true and Metadata Exists => let the metadata decide if this feature is on;
else take value from isActive

## Getting started with development

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

# Navigate to the repo dir
cd playkit-js-prevent-forward-seeks

# 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 800x. Once started, the demo can be found running at http://localhost:800x/.

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
```

### How to config

```js
ui: {
  translations: {
    en: {
      'plugin-prevent-forward-seeks': {}
    }
  }
},
plugins: {
  pluginPreventForwardSeeks: {
    metaDataFieldName: 'BanSeek',
    isActive: true,
    showSeekModal: true,
    disableAllSeeks: true // optional (default false)
  }
}
```
npm package: @playkit-js/video-ended-marker
Description: [![Build Status](https://app.travis-ci.com/kaltura/playkit-js-plugin-example.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-js-plugin-example) [![](https://img.shields.io/npm/v/@playkit-js/plugin-example/latest.svg)](https://www.npmjs.com/p
Latest version: 1.0.3

[![Build Status](https://app.travis-ci.com/kaltura/playkit-js-plugin-example.svg?branch=master)](https://app.travis-ci.com/kaltura/playkit-js-plugin-example)
[![](https://img.shields.io/npm/v/@playkit-js/plugin-example/latest.svg)](https://www.npmjs.com/package/@playkit-js/plugin-example)
[![](https://img.shields.io/npm/v/@playkit-js/plugin-example/canary.svg)](https://www.npmjs.com/package/@playkit-js/plugin-example/v/canary)

# playkit-js-video-ended-marker

`playkit-js-video-ended-marker` is a [kaltura player] plugin which logs an arbitrary value to the console.
`10` is the default value, you can change it using the `textToLog` config of this plugin.

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

playkit-js-video-ended-marker 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 v7 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/

## Plugin Config
```js
plugins: {
  videoEndedMarker: {
    textToLog: '10' // default value is 10. 
  }
}
```


## Features

## Getting started with development

```sh
# First, checkout the repository and install the required dependencies
git clone https://github.com/Kaltura-PS/playkit-js-video-ended-marker.git

# Navigate to the repo dir
cd playkit-js-video-ended-marker

# Run dev-server for demo page (recompiles on file-watch, and write to actual dist fs artifacts)
yarn
yarn build
yarn 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:

```
yarn run lint:fix
```

### Formatting Code

Run prettier to format code

```
yarn run prettier:fix
```

### Type Check

Run type-check to verify TypeScript types

```
yarn run types:check
```

### Automated tests (Mocha/Karma)

Run all tests at once:

```
yarn test
```

Run unit tests in watch mode:

```
yarn run test:watch
```