# wistia-player-api-loader

> Wistia JS Player API loader.

Latest version **1.0.0** (published 2019-03-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install wistia-player-api-loader
pnpm add wistia-player-api-loader
yarn add wistia-player-api-loader
bun add wistia-player-api-loader
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2019-03-01 |
| First published | 2019-03-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vojta Drbohlav |
| Maintainers | vojtad |
| Keywords | wistia, js, player, embed, iframe, api |

## Links

- npm: https://www.npmjs.com/package/wistia-player-api-loader
- Repository: https://github.com/vojtad/wistia-player-api-loader
- Issues: https://github.com/vojtad/wistia-player-api-loader/issues
- npm.io page: https://npm.io/package/wistia-player-api-loader

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 1.0.0 (latest) — 2019-03-01

## README

# wistia-player-api-loader
Wrapper for loading [Wistia Player API](https://wistia.com/support/developers/player-api) JS. Inspired by [youtube-iframe](https://github.com/Prinzhorn/youtube-iframe).

# Install
```
npm install wistia-player-api-loader
```
```
yarn add wistia-player-api-loader
```

# Usage
```
import WistiaPlayerApiLoader from 'wistia-player-api-loader';

WistiaPlayerApiLoader.load((Wistia) => {
    const videoId = '...';
    const containerId = '...';

    Wistia.embed(videoId, {
        container: containerId,
    });
});
```

---
_Source: https://npm.io/package/wistia-player-api-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
