@playkit-js/playkit-js-ui 0.83.4 → 0.83.5-canary.0-55bc092
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/dist/playkit-js-ui.d.ts +18 -0
- package/dist/playkit-ui.js +1 -1
- package/dist/playkit-ui.js.map +1 -1
- package/package.json +1 -1
- package/src/components/engine-connector/engine-connector.tsx +4 -0
- package/src/components/error-overlay/error-overlay.tsx +17 -2
- package/src/components/logo/logo.tsx +12 -5
- package/src/components/watermark/watermark.tsx +34 -6
- package/src/reducers/engine.ts +15 -3
- package/src/types/reducers/engine.ts +1 -0
package/dist/playkit-js-ui.d.ts
CHANGED
|
@@ -339,6 +339,10 @@ declare const actions_3: {
|
|
|
339
339
|
type: string;
|
|
340
340
|
fullscreen: boolean;
|
|
341
341
|
};
|
|
342
|
+
readonly updateComponentData: (componentData: any) => {
|
|
343
|
+
type: string;
|
|
344
|
+
componentData: any;
|
|
345
|
+
};
|
|
342
346
|
};
|
|
343
347
|
|
|
344
348
|
declare const actions_4: {
|
|
@@ -2981,6 +2985,7 @@ declare interface EngineState {
|
|
|
2981
2985
|
playlist: any;
|
|
2982
2986
|
sources: any;
|
|
2983
2987
|
fullscreen: boolean;
|
|
2988
|
+
componentData: any;
|
|
2984
2989
|
}
|
|
2985
2990
|
|
|
2986
2991
|
/**
|
|
@@ -2991,6 +2996,8 @@ declare interface EngineState {
|
|
|
2991
2996
|
*/
|
|
2992
2997
|
declare class ErrorOverlay extends Component<any, any> {
|
|
2993
2998
|
private sessionEl;
|
|
2999
|
+
constructor(props: any);
|
|
3000
|
+
componentDidUpdate(prevProps: any): void;
|
|
2994
3001
|
/**
|
|
2995
3002
|
* copy input text based on input element.
|
|
2996
3003
|
* on success, set success internal component state for 2 seconds
|
|
@@ -3656,6 +3663,7 @@ declare const initialState_3: {
|
|
|
3656
3663
|
playlist: null;
|
|
3657
3664
|
sources: null;
|
|
3658
3665
|
fullscreen: boolean;
|
|
3666
|
+
componentData: {};
|
|
3659
3667
|
};
|
|
3660
3668
|
|
|
3661
3669
|
declare const initialState_4: {
|
|
@@ -4883,6 +4891,7 @@ declare class Logo extends Component<any, any> {
|
|
|
4883
4891
|
* @memberof Logo
|
|
4884
4892
|
*/
|
|
4885
4893
|
componentDidMount(): void;
|
|
4894
|
+
componentDidUpdate(prevProps: any): void;
|
|
4886
4895
|
/**
|
|
4887
4896
|
* handles the logo url
|
|
4888
4897
|
* if the url contains ${entryId}, then replace it with the played entry id
|
|
@@ -7786,6 +7795,7 @@ declare const types_3: {
|
|
|
7786
7795
|
UPDATE_PICTURE_IN_PICTURE_SUPPORTED: string;
|
|
7787
7796
|
UPDATE_PICTURE_IN_PICTURE_MODE: string;
|
|
7788
7797
|
UPDATE_FULLSCREEN: string;
|
|
7798
|
+
UPDATE_COMPONENT_DATA: string;
|
|
7789
7799
|
};
|
|
7790
7800
|
|
|
7791
7801
|
declare const types_4: {
|
|
@@ -8584,6 +8594,13 @@ declare class Watermark extends Component<any, any> {
|
|
|
8584
8594
|
* @memberof Watermark
|
|
8585
8595
|
*/
|
|
8586
8596
|
componentDidMount(): void;
|
|
8597
|
+
/**
|
|
8598
|
+
* After component updated, load image dimensions
|
|
8599
|
+
* @method componentDidUpdate
|
|
8600
|
+
* @returns {void}
|
|
8601
|
+
* @memberof Watermark
|
|
8602
|
+
*/
|
|
8603
|
+
componentDidUpdate(prevProps: any): void;
|
|
8587
8604
|
/**
|
|
8588
8605
|
* handles the watermark url
|
|
8589
8606
|
* if the url contains ${entryId}, then replace it with the played entry id
|
|
@@ -8602,6 +8619,7 @@ declare class Watermark extends Component<any, any> {
|
|
|
8602
8619
|
* @memberof Watermark
|
|
8603
8620
|
*/
|
|
8604
8621
|
private _setWatermarkUrlWithEntryId;
|
|
8622
|
+
private isEntryUrlResolved;
|
|
8605
8623
|
/**
|
|
8606
8624
|
* componentWillUnmount
|
|
8607
8625
|
*
|