To include Storm Library in Node, first install NPM
npm install storm-library
yarn install storm-library
Once the library is properly linked to your page, a library instance can be created. Please keep in mind that you can create and manage multiple instances of StormLibrary at a time. Each instance requires a valid configuration object in order to work properly.
const storm = new StormLibrary(config)
All instances are automatically assigned to an array called “stormPlayerCollection”. If you wish to access one of the instances easily, you can use this way to call it:
If you know the id of an instance, we can also access it via: