@playkit-js/playkit-js-ui 0.80.1 → 0.80.2
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
|
@@ -263,7 +263,9 @@ class Shell extends Component<any, any> {
|
|
|
263
263
|
this.props.updatePlayerClientRect(playerContainer.getBoundingClientRect());
|
|
264
264
|
}
|
|
265
265
|
setTimeout(() => {
|
|
266
|
-
|
|
266
|
+
if (playerContainer) {
|
|
267
|
+
this.props.updatePlayerClientRect(playerContainer.getBoundingClientRect());
|
|
268
|
+
}
|
|
267
269
|
}, ON_PLAYER_RECT_CHANGE_DEBOUNCE_DELAY);
|
|
268
270
|
};
|
|
269
271
|
|