Open Hashmi0 opened 6 years ago
Please , i have the same problem...have you a solution now?
There is the solution in my case
[ ] -first add video js in angular.jon and in your ts files write : declare var videojs:any;
[ ] import watermark from 'videojs-watermark';
[ ] and on your ngOnit add this : videojs.registerPlugin('watermark', watermark);
[ ] and to finish call player.watermark( );
Hello there ! i am unable to integrate this videojs-watermark plugin in my angular2 project. Is there any way to integrate this in angular2 ? here is the code var player= videojs('id1', {}, function() { console.log("Working inside function ")
}); player.watermark();