radiantmediaplayer / rmp-vast

A client-side JavaScript solution to load, parse and display VAST 2, 3 & 4 resources with HTML5 video
https://www.radiantmediaplayer.com/rmp-vast/app/
Other
95 stars 37 forks source link

pause event fired when the ad ends #26

Closed chanand closed 4 years ago

chanand commented 4 years ago

Once the ad ends a pause event is fired before the complete event.

This can be reproduced with the example too: https://www.radiantmediaplayer.com/rmp-vast/app/

image

radiantmediaplayer commented 4 years ago

Hi, This is normal expected behaviour. Some browsers produce a "pause" event just before the "ended" event for HTML5 video. This is not something we would consider bypassing in rmp-vast as it would introduce overhead code. Thanks Arnaud