Describe the bug
The div .gg-ez-vp--blocker used to prevent clicks on VPAID thumbnails is needed for VAST as well, since some VAST may try to open their landing page immediately.
To Reproduce
Find a VAST tag without VPAID, it should take over the click for mobile
Click on it
The landing page will open immediately and the gg-ez-vp--blocker won't be rendered
Expected behavior
When the blocker is enabled through CSS, no clicks should be allowed to reach the video player.
Additional context
The code that creates the blocker div should be extracted from addVPAIDOverlays so that it can be reused by other parts of the code.
Describe the bug The div
.gg-ez-vp--blocker
used to prevent clicks on VPAID thumbnails is needed for VAST as well, since some VAST may try to open their landing page immediately.To Reproduce
Expected behavior When the blocker is enabled through CSS, no clicks should be allowed to reach the video player.
Additional context The code that creates the blocker div should be extracted from addVPAIDOverlays so that it can be reused by other parts of the code.
Then, that new function should be called before adding VAST tracking.