Skip to content

azmenak/wistia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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({ ...  });

About

Provides a wrapper around the Wistia Upload API for use with JS modules

Resources

Stars

Watchers

Forks

Packages

No packages published