@playkit-js/unisphere 0.0.19-canary.0-338e5c5 → 0.0.19-canary.0-dcfb586
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
package/src/index.ts
CHANGED
package/src/types/index.ts
CHANGED
|
@@ -9,6 +9,9 @@ import { SidePanelsManager, UpperBarManager } from '@playkit-js/ui-managers';
|
|
|
9
9
|
import { UnisphereEvent, UnisphereStorageKeys, WidgetConfig } from './types';
|
|
10
10
|
import { UpperBarIcon } from './components';
|
|
11
11
|
import { ContainerManager, UnisphereElementService, UnisphereEventService, UnisphereStorageService, UnisphereWorkspaceService } from './services';
|
|
12
|
+
import { PlayerEvent } from './types';
|
|
13
|
+
|
|
14
|
+
const { reducers: {shell}} = ui;
|
|
12
15
|
|
|
13
16
|
class UnispherePluginManager {
|
|
14
17
|
private iconIds = new Map<string, number>();
|
|
@@ -112,9 +115,8 @@ class UnispherePluginManager {
|
|
|
112
115
|
}
|
|
113
116
|
});
|
|
114
117
|
}
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
this.player.dispatchEvent(new FakeEvent('UNISPHERE_CHAPTERS_ADDED', payload))
|
|
118
|
+
// event for playkit-js-seo
|
|
119
|
+
this.player.dispatchEvent(new FakeEvent(PlayerEvent.UNISPHERE_CHAPTERS_ADDED, payload));
|
|
118
120
|
}
|
|
119
121
|
});
|
|
120
122
|
|
|
@@ -226,6 +228,9 @@ class UnispherePluginManager {
|
|
|
226
228
|
this.iconIds.clear();
|
|
227
229
|
|
|
228
230
|
this.containerManager.destroy();
|
|
231
|
+
|
|
232
|
+
//@ts-ignore
|
|
233
|
+
this.player.ui.store.dispatch(shell.actions.updateTimeDisplayIsMinimized(false));
|
|
229
234
|
}
|
|
230
235
|
|
|
231
236
|
public destroy(): void {
|