-
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-13719): [Transcript Plugins]: Add Events (used by kava analytics) #180
Conversation
this.ready.then(() => { | ||
this.sidePanelsManager?.activateItem(this._transcriptPanel); | ||
this._pluginState = PluginStates.OPENED; | ||
this.upperBarManager?.update(this._transcriptIcon); | ||
this.dispatchEvent(TranscriptEvents.TRANSCRIPT_OPEN, {auto: isFirstOpen}); | ||
}); | ||
}; | ||
|
||
private _deactivatePlugin = () => { | ||
this.ready.then(() => { | ||
this.sidePanelsManager?.deactivateItem(this._transcriptPanel); | ||
this.upperBarManager?.update(this._transcriptIcon); |
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.
If we deactivated the plugin, should we not set the state to this._pluginState = PluginStates.CLOSED ?
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.
it seems that you are right, i guess @semarche-kaltura is most familiar with this plugin
anyway from experience... we rather not touch things unrelated directly to the original ticket
Description of the Changes Add Application events analytics reporting to kava Solves FEC-13691 Related PRs: kaltura/playkit-js-share#40 kaltura/playkit-js-downloads#43 kaltura/playkit-js-dual-screen#131 kaltura/playkit-js-playlist#56 kaltura/playkit-js-navigation#352 kaltura/playkit-js-transcript#180 kaltura/playkit-js-bumper#111 kaltura/playkit-js-skip#22 --------- Co-authored-by: JonathanTGold <jonathan.gold@[email protected]>
Solves FEC-13719, FEC-13691
Related PR:
kaltura/playkit-js-kava#156