videojs-flvjs-es6
Advanced tools
Weekly downloads
Readme
Refactor videojs-flvjs for compatitable with ES6 module.
npm install --save video.js flv.js videojs-flvjs-es6
You need to include video.js first.
videojs-flvjs-es6
internally depends on flvjs
, so there is no need to explicitly introduce flvjs.
<video id="#video-js-node"></video>
import videojs from 'video.js'
import 'videojs-flvjs-es6'
videojs('video-js-node', {
flvjs: {
mediaDataSource: {
isLive: true,
cors: false,
withCredentials: false,
},
},
controls: 'control',
preload: 'auto',
height: '505',
})
Apache-2.0. Copyright (c) xlaoyu
FAQs
Video.js tech for FLV playback in MSE with flv.js use in es6 modules
The npm package videojs-flvjs-es6 receives a total of 662 weekly downloads. As such, videojs-flvjs-es6 popularity was classified as not popular.
We found that videojs-flvjs-es6 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.