@playkit-js/playkit-js-ui 0.81.0 → 0.81.1-canary.0-1bdbe3f
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
CHANGED
|
@@ -8310,11 +8310,17 @@ export declare type VrStereoConfig = {
|
|
|
8310
8310
|
*/
|
|
8311
8311
|
declare class Watermark extends Component<any, any> {
|
|
8312
8312
|
_timeoutId: number | null;
|
|
8313
|
+
_imgAspectRatio: number | null;
|
|
8314
|
+
_originalImgWidth: number | null;
|
|
8315
|
+
_originalImgHeight: number | null;
|
|
8316
|
+
_playerHeight: number | null;
|
|
8317
|
+
_playerWidth: number | null;
|
|
8313
8318
|
/**
|
|
8314
8319
|
* Creates an instance of Watermark.
|
|
8315
8320
|
* @memberof Watermark
|
|
8316
8321
|
*/
|
|
8317
8322
|
constructor(props: any);
|
|
8323
|
+
componentWillMount(): void;
|
|
8318
8324
|
/**
|
|
8319
8325
|
* After component mounted, listen to relevant player event for updating the state of the component
|
|
8320
8326
|
* @method componentDidMount
|
|
@@ -8330,6 +8336,9 @@ declare class Watermark extends Component<any, any> {
|
|
|
8330
8336
|
* @memberof Watermark
|
|
8331
8337
|
*/
|
|
8332
8338
|
private _handleWatermarkUrl;
|
|
8339
|
+
private _loadImageDimension;
|
|
8340
|
+
private _loadPlayerDimension;
|
|
8341
|
+
private onPlayerResize;
|
|
8333
8342
|
/**
|
|
8334
8343
|
* sets the url with the entry id
|
|
8335
8344
|
* @param {string} url - the url configured on the watermark
|