Version: 2.69.0

Visibility.removeObserver()

THEOplayer > Visibility > removeObserver

Visibility.removeObserver() method

Remove a visibility observer.

The observer will stop monitoring player visibility, and will no longer trigger its callback.

Signature:
removeObserver(observer: VisibilityObserver): void;

Parameters

ParameterTypeDescription
observerVisibilityObserverThe observer to remove.
Returns:

void