diff --git a/src/ext/lib/video-data/PlayerData.js b/src/ext/lib/video-data/PlayerData.js index 51de27e..b131d82 100644 --- a/src/ext/lib/video-data/PlayerData.js +++ b/src/ext/lib/video-data/PlayerData.js @@ -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(); } }