@popcorn-video/video
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published
import { Player, createHTML5Decoder } from '@popcorn-video/video';

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

Readme

Keywords

none

Package Sidebar

Install

npm i @popcorn-video/video

Weekly Downloads

1

Version

0.1.9

License

MIT

Unpacked Size

40.4 kB

Total Files

35

Last publish

Collaborators

  • ignous