0.1.9 • Published 4 years ago

@popcorn-video/video v0.1.9

Weekly downloads
11
License
MIT
Repository
github
Last release
4 years ago
import { Player, createHTML5Decoder } from '@popcorn-video/video';

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