@playkit-js/transcript 2.1.5-canary.27-d3cdc03 → 2.1.5-canary.30-eb358ab

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": "2.1.5-canary.27-d3cdc03",
3
+ "version": "2.1.5-canary.30-eb358ab",
4
4
  "main": "dist/playkit-transcript.js",
5
5
  "license": "AGPL-3.0",
6
6
  "private": false,
package/src/index.ts CHANGED
@@ -9,5 +9,5 @@ const NAME = __NAME__;
9
9
  export {TranscriptPlugin as Plugin};
10
10
  export {VERSION, NAME};
11
11
 
12
- const pluginName: string = 'transcript';
12
+ const pluginName: string = 'playkit-js-transcript';
13
13
  KalturaPlayer.core.registerPlugin(pluginName, TranscriptPlugin);
@@ -235,7 +235,7 @@ export class TranscriptPlugin extends KalturaPlayer.core.BasePlugin {
235
235
  });
236
236
 
237
237
  if ((expandOnFirstPlay && !this._pluginState) || this._pluginState === PluginStates.OPENED) {
238
- this.ready.then(() => {
238
+ this.player.ready().then(() => {
239
239
  this.sidePanelsManager.activateItem(this._transcriptPanel);
240
240
  });
241
241
  }