gumgum / gg-ez-vp

Simple video player with minimal setup, intuitive API and straightforward features
https://gumgum.github.io/gg-ez-vp
MIT License
7 stars 4 forks source link

Hotfix/mobile clickthrough #80

Closed edrpls closed 4 years ago

edrpls commented 4 years ago

This will fix an issue when the VPAID click is handled by the player #79 Additionally, it will hide the timestamps when either duration or current time is not available.

edrpls commented 4 years ago

This issue occurred on certain VPAID tags that delegate the click on mobile to the player, VASTTracker was not able to return one, so the clickthrough event was never emitted. The fix was to pass the VPAID URL to VASTTracker.click(url), which uses the argument passed as a fallback.

On our side the VAST 2.0 recommended flow is still used, VPAID URL -> VAST URL