You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I added vjs-video in my angular app, and it has worked great thus far. Now I'm trying to add a couple of plugins, and I can't seem to get them to work.
Problem
I've tried registering the plugins by specifying options using the vjs-setup directive, and specifying these in my controller:
@lwthatcher It would be of great help if you could create a plnkr or jsfiddle to show how you have integrated the plugins (hotkeys) with vjs-video.
I am trying to figure out how to integrate videojs-contrib-hls plugin.
Registering Plugins
I added
vjs-video
in my angular app, and it has worked great thus far. Now I'm trying to add a couple of plugins, and I can't seem to get them to work.Problem
I've tried registering the plugins by specifying options using the
vjs-setup
directive, and specifying these in my controller:HTML:
Component's Controller:
The
playbackRates
parameter works as expected, but none of the plugins seem to take effect...Is there a convenient workaround for this with
vjs-video
?Plugins
I've been attempting this with the following plugins:
videojs-resolution-switcher
videojs-hotkeys
A look at these plugins suggests they self-register with videojs at the end of their scripts:
The text was updated successfully, but these errors were encountered: