In 2020 Google introduced various measures for regulating online advertising in the Google Chrome browser. The Heavy Ad Intervention feature was released in order to identify and unload online ads that are deemed as ‘heavy’. Learn more .
If player is flagged by Heavy Ad, Dailymotion throws an event PLAYER_HEAVYADSINTERVENTION
. Using that event, Custom embed will try to load the player again. Loading again the player bypasses the heavy ad most of the time but not always.
Hence for the custom embed, we recommends always using two PLAYER_ID
for playerId
attribute. The second PLAYER_ID
will be used for Heavy Ad Intervention.
In the absence of a second PLAYER_ID
, Dailymotion custom embed will instead load a universal player library i.e., player.js for Heavy Ad Intervention.
<div class="dm-player"
owners="suaradotcom"
sort="recent"
playerId="x4aj,x7n9s" >
</div>
Sample code :