function toggleMiniPlayerOff() {
        const videoWrapper = playerInstance.domRef.wrapper;

        removePlayerPlaceholder();

        videoWrapper.classList.remove(FLUID_PLAYER_WRAPPER_CLASS);
        videoWrapper.style.width = `${originalWidth}px`;
        videoWrapper.style.height = `${originalHeight}px`;

        originalWidth = null;
        originalHeight = null;

        adaptNonLinearSize();
        adaptLinearSize();
        playerInstance.miniPlayerToggledOn = false;
        emitToggleEvent();
    }
Toggles the MiniPlayer off and restores previous functionality to player