0.0.3 • Published 3 years ago
ng-ivs v0.0.3
NgIvs
How to use?
npm i --save ng-ivs
<vjs-ivs-player
[options]="options"
[appChanEndpoint]="'https://fcc3ddae59ed.us-west-2.playback.live-video.net/api/video/v1/us-west-2.893648527354.channel.DmumNckWFTqz.m3u8'"
></vjs-ivs-player>
options ={
sources: [{
src: 'https://fcc3ddae59ed.us-west-2.playback.live-video.net/api/video/v1/us-west-2.893648527354.channel.DmumNckWFTqz.m3u8',
type: 'application/x-mpegURL'
}],
fluid: true,
aspectRatio: '16:9',
autoplay: true,
controls: true,
}
add into the tsconfig.json
"skipLibCheck": true,