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

The player-click event is not emitted by VAST/VPAID #70

Open edrpls opened 4 years ago

edrpls commented 4 years ago

The player-click event is emitted only when using media file sources, when using VAST with or without VPAID, the event is not emitted.

This event should be emitted regardless of the source.

edrpls commented 4 years ago

VPAID emits the event since #72, support for VAST without VPAID is still pending.

edrpls commented 4 years ago

VAST support should be added on enableVASTTracking, in the VASTTracker clickthrough callback.

edrpls commented 4 years ago

The VAST click payload should have the same structure as VPAID and be emitted before opening the new page.