[](https://github.com/kaltura/playkit-js-reels/actions/workflows/run_canary.yaml) [](http
npm install @playkit-js/reels


playkit-js-reels is written in [TypeScript] (*.ts),
and transpiled in ECMAScript5 using Babel and the [TypeScript compiler].
[Webpack] is used to build the distro bundle and serve the local development environment.
[PlayKit JS Player]: https://github.com/kaltura/kaltura-player-js
[typescript]: https://www.typescriptlang.org/
[typescript compiler]: https://www.typescriptlang.org/docs/handbook/compiler-options.html
[webpack]: https://webpack.js.org/
The plugin requires [Kaltura Player] to be loaded first.
[kaltura player]: https://github.com/kaltura/kaltura-player-js
First, clone and run [yarn] to install dependencies:
[yarn]: https://yarnpkg.com/lang/en/
```
git clone https://github.com/kaltura/playkit-js-reels.git
cd playkit-js-detect-reels
yarn install
Then, build the plugin
`javascript`
yarn run build
Finally, add the bundle as a script tag in your page, and initialize the player
`html``
playkit-js-reels is released under AGPL-3.0