# @popcorn-video/video

> ```js import { Player, createHTML5Decoder } from '@popcorn-video/video';

Latest version **0.1.9** (published 2021-03-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install @popcorn-video/video
pnpm add @popcorn-video/video
yarn add @popcorn-video/video
bun add @popcorn-video/video
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.1.9 |
| Published | 2021-03-24 |
| First published | 2020-01-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 39.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | huey.LS |
| Maintainers | ignous |

## Links

- npm: https://www.npmjs.com/package/@popcorn-video/video
- Repository: https://github.com/huey-LS/popcorn
- Homepage: https://github.com/huey-LS/popcorn#readme
- Issues: https://github.com/huey-LS/popcorn/issues
- npm.io page: https://npm.io/package/@popcorn-video/video

## Dependencies (1)

- [tslib](https://npm.io/package/tslib.md) ^1.10.0

## Recent versions

- 0.1.9 (latest) — 2021-03-24
- 0.1.8 — 2021-01-13
- 0.1.7 — 2020-05-22
- 0.1.6 — 2020-01-21
- 0.1.5 — 2020-01-21
- 0.1.4 — 2020-01-21
- 0.1.3 — 2020-01-20
- 0.1.2 — 2020-01-16
- 0.1.1 — 2020-01-15
- 0.1.0 — 2020-01-15

## README

```js
import { Player, createHTML5Decoder } from '@popcorn-video/video';

new Player({
  decoders: [
    createHTML5Decoder({
      htmlAttributes: {'xx':'xx'}
    })
  ],
  sources: [{
    src: 'xxx.mp4',
    type: 'video/mp4'
  }]
})
```

---
_Source: https://npm.io/package/@popcorn-video/video · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
