function adaptLinearSize() {
        const clickTroughLayer = playerInstance.domRef.wrapper.querySelector(LINEAR_CLICKTHROUGH_SELECTOR);

        if (clickTroughLayer) {
            clickTroughLayer.style.width = `${playerInstance.domRef.player.offsetWidth}px`;
            clickTroughLayer.style.height = `${playerInstance.domRef.player.offsetHeight}px`;
        }
    }
Adapts Linear size (if present) to fit MiniPlayer view