-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(FEC-13783): Kava - Application Events - Fixes #166
Conversation
# Conflicts: # test/e2e/kava-event-model.spec.js
…into FEC-13783 # Conflicts: # test/e2e/kava-event-model.spec.js
@@ -326,6 +326,7 @@ class Kava extends BasePlugin { | |||
this.eventManager.listen(this.player, this.player.Event.Core.MUTE_CHANGE, () => this._updateSoundModeInModel()); | |||
this.eventManager.listen(this.player, this.player.Event.Core.ENTER_FULLSCREEN, () => this._onFullScreenChanged(ScreenMode.FULLSCREEN)); | |||
this.eventManager.listen(this.player, this.player.Event.Core.EXIT_FULLSCREEN, () => this._onFullScreenChanged(ScreenMode.NOT_IN_FULLSCREEN)); | |||
this.eventManager.listen(this.player, this.player.Event.REGISTERED_PLUGINS_LIST_EVENT, (e) => this._onRegisteredPluginsListChange(e.payload)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the event fires when the active plugins list is updated ?
maybe it should be called PLUGIN_LIST_UPDATED then ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main goal of this event is not notifying of plugins list change but just to expose the plugins list (on player load)
But anyway the kaltura pr was already merged
If it is critical I can open separate pr for this in kaltura player
Description of the Changes
Application Events - Fixes
Resolves FEC-13783, FEC-13690
Related PRS:
kaltura/playkit-js-transcript#181
kaltura/playkit-js-dual-screen#132
Related Ticket: FEC-13691