@playkit-js/transcript 3.4.6 → 3.4.7-canary.0-e368414
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@playkit-js/transcript",
|
|
3
|
-
"version": "3.4.
|
|
3
|
+
"version": "3.4.7-canary.0-e368414",
|
|
4
4
|
"main": "dist/playkit-transcript.js",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"private": false,
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
"name": "playkit-js-transcript",
|
|
84
84
|
"dependencies": {
|
|
85
85
|
"playkit-kaltura-cuepoints": "3.0.6",
|
|
86
|
-
"playkit-ui-managers": "1.3.
|
|
86
|
+
"playkit-ui-managers": "1.3.13"
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
}
|
|
@@ -172,7 +172,7 @@ export class TranscriptPlugin extends KalturaPlayer.core.BasePlugin {
|
|
|
172
172
|
private _activatePlugin = () => {
|
|
173
173
|
this.ready.then(() => {
|
|
174
174
|
this.sidePanelsManager?.activateItem(this._transcriptPanel);
|
|
175
|
-
this._pluginState
|
|
175
|
+
this._pluginState = PluginStates.OPENED;
|
|
176
176
|
this.upperBarManager?.update(this._transcriptIcon);
|
|
177
177
|
});
|
|
178
178
|
};
|
|
@@ -180,7 +180,6 @@ export class TranscriptPlugin extends KalturaPlayer.core.BasePlugin {
|
|
|
180
180
|
private _deactivatePlugin = () => {
|
|
181
181
|
this.ready.then(() => {
|
|
182
182
|
this.sidePanelsManager?.deactivateItem(this._transcriptPanel);
|
|
183
|
-
this._pluginState = PluginStates.CLOSED;
|
|
184
183
|
this.upperBarManager?.update(this._transcriptIcon);
|
|
185
184
|
});
|
|
186
185
|
};
|
|
@@ -193,6 +192,7 @@ export class TranscriptPlugin extends KalturaPlayer.core.BasePlugin {
|
|
|
193
192
|
if (this._isPluginActive()) {
|
|
194
193
|
this._triggeredByKeyboard = false;
|
|
195
194
|
this._deactivatePlugin();
|
|
195
|
+
this._pluginState = PluginStates.CLOSED;
|
|
196
196
|
} else {
|
|
197
197
|
this._triggeredByKeyboard = Boolean(byKeyboard);
|
|
198
198
|
this._activatePlugin();
|
|
@@ -312,6 +312,7 @@ export class TranscriptPlugin extends KalturaPlayer.core.BasePlugin {
|
|
|
312
312
|
this._pluginButtonRef?.focus();
|
|
313
313
|
}
|
|
314
314
|
this._deactivatePlugin();
|
|
315
|
+
this._pluginState = PluginStates.CLOSED;
|
|
315
316
|
};
|
|
316
317
|
|
|
317
318
|
static isValid(): boolean {
|