This commit is contained in:
Tamius Han 2021-01-31 01:42:08 +01:00
parent 3ab619799a
commit bc19164c25

View File

@ -87,9 +87,8 @@ class PlayerData {
// player size observer may not be strictly necessary here
onPlayerDimensionsChanged(mutationList, observer, context) {
console.log("context:", context, "this:", this);
if (context.checkPlayerSizeChange()) {
context.videoData.resizer.restore();
if (this?.checkPlayerSizeChange()) {
this.videoData.resizer.restore();
}
}