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've noticed that the constructor of the player exclusively considers the plugins' options passed directly through the constructor parameters. Ideally, I was looking to configure default plugins for all player instances by doing something like this:
videojs.options.plugins={eme: true};
Unfortunately, due to the current plugin initialisation approach, this configuration does not influence the plugin setup for individual player instances.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I've noticed that the constructor of the player exclusively considers the
plugins
' options passed directly through the constructor parameters. Ideally, I was looking to configure default plugins for all player instances by doing something like this:Unfortunately, due to the current plugin initialisation approach, this configuration does not influence the plugin setup for individual player instances.
video.js/src/js/player.js
Lines 504 to 508 in 2f1cc6c
Is the current design intentional, or would you consider a change like this?
Beta Was this translation helpful? Give feedback.
All reactions