wistia

1.5.0 • Public • Published

Wistia External API Wapper

Wistia has a nice new uploader, but if you're trying to integrate it into a project using modules they don't support that.

The handle needs to be created once.

import wistiaPromise from 'wistia/external';
 
wistiaPromise().then(Wistia => {
    const uploader = new Wistia.Uploader({
      ...
    })
})

After its been created once, you can access the handle directly

import { Wistia } from 'wistia/external';
 
const uploader = new Wistia.Upliader({ ...  });

Readme

Keywords

none

Package Sidebar

Install

npm i wistia

Weekly Downloads

0

Version

1.5.0

License

MIT

Last publish

Collaborators

  • azmenak