Closed CalibanAngel closed 6 years ago
Thanks a lot. I'll chek it because I'll need it soon. Only a consideration the property in angular-cli.json "scripts" .
Thanks for sharing @CalibanAngel . Going to close this ticket though as it isn't a current issue.
please don't forget to include as well
"../node_modules/video.js/dist/video-js.min.css",
moreover here is the link to the custom component guide
https://www.arroyolabs.com/2017/03/angular-2-videojs-component/
import { videojs } from "video.js";
is the simplest way :)
Hi
I was trying to use videojs and video-contrib-hls with Angular 5 and it didn't work at all. So after trying few things I finally succeed to use it. So this is what I did to fix my problems.
I use in my package.json :
Actually i don't know for others version but it works with these one.
You should add in angular-cli.json :
And in your my-component.component.ts :
I hope it will help someone.