Version: 2.69.0

SourceConfiguration.blockContentIfAdError

THEOplayer > SourceConfiguration > blockContentIfAdError

SourceConfiguration.blockContentIfAdError property

Whether the player should be blocked when an ad-related error occurs.

Signature:
blockContentIfAdError?: boolean;

Remarks


- A blocked player is not usable anymore. This has the same effect as invoking [ChromelessPlayer.destroy()](/docs/api-reference/theoplayer-chromelessplayer-destroy).