The Force Sound if Possible option will force sound on the player upon user interaction, regardless of the sound setting in the player template. This means that even if the player is set to start muted, if this option is enabled, the sound will be activated whenever possible. It requires the Wait for TCF API option to be enabled.
How it Works:
- On Page Load and Consent Pop-up: Once a user interacts with the consent form by accepting, declining, or disregarding it, the player will start unmuted and will keep the sound on until the page reloads. The sound is set to 0.01 to minimize interference with the user experience. The vpmute value will be 0 (unmuted).
- On Page Reload: The player will start muted as there was no prior interaction and the browser would not permit it. The vpmute value will be 1 (muted). However, if the user clicks on the player or anywhere on the page, the sound will instantly be enabled during the ad playback, and every subsequent ad will start unmuted. Thus, every next ad request will send the vpmute value as 0 (unmuted).
- During Ad Playback: Even if a user mutes the player during ad playback, the next ad request will trigger sound.
Notes:
- This feature is compatible with the Loop Ads option.
- This implementation is fully compliant with Google policies on autoplay with sound.
Comments
0 comments
Please sign in to leave a comment.