@inplayer/inplayer-sdk

0.1.9 • Public • Published

InPlayer SDK

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Development

NOTE:

CMD/Powershell on Windows is crashing on WATCH mode, go to node_modules/rollup/bin/rollup and change

const SHOW_ALTERNATE_SCREEN = '\u001B[?1049h';

const HIDE_ALTERNATE_SCREEN = '\u001B[?1049l';

to

const SHOW_ALTERNATE_SCREEN = '';

const HIDE_ALTERNATE_SCREEN = '';

Installing

Method 1 using script tag:

  • Import the bundle.js inside your html as follows:

    <script src="https://inplayer.com/SDK/bundle.min.js"></script>

Method 2 using NPM:

  • Run the following command

    $ npm i @inplayer/inplayer-sdk

  • Import the SDK inside any javascript file:

    import InPlayer from '@inplayer/inplayer-sdk';

Running the tests

$ npm test

Deployment

$npm run dev

Versioning

0.1.9

License

InPlayer Ltd.

Readme

Keywords

Package Sidebar

Install

npm i @inplayer/inplayer-sdk

Weekly Downloads

0

Version

0.1.9

License

ISC

Last publish

Collaborators

  • gorang