Skip to content
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

Merged
merged 13 commits into from
Mar 24, 2024
Merged

Conversation

JonathanTGold
Copy link
Contributor

@JonathanTGold JonathanTGold commented Mar 19, 2024

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

@JonathanTGold JonathanTGold self-assigned this Mar 19, 2024
@JonathanTGold JonathanTGold requested a review from a team March 19, 2024 15:51
@@ -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));
Copy link
Contributor

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 ?

Copy link
Contributor Author

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

@JonathanTGold JonathanTGold merged commit 228ea0c into master Mar 24, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants