Replay a video ad

774 views
Skip to first unread message

Arnaud Leyder

unread,
Aug 29, 2016, 7:04:54 AM8/29/16
to Interactive Media Ads SDK
IMA HTML5 and Flash SDK
I am looking for a "smart" way to offer the possibility to replay an ad once it has finished (the use case is outstream video ads). I know I could make a request to load a new ad based on a given VAST tag URL but my question is about achieving the replay of an ad that has already been played without the need to reload a VAST tag. 

Basically when an ad completes I would like to offer a UI "replay" button which on click will cause the ad to replay. I do not need to seek into the ad as such, just a method that would allow to restart the ad from 0 and play it again. I have looked through the docs but I have not found any obvious way to do so.


Thanks
Arnaud

Vu Chau (IMA SDK Team)

unread,
Aug 29, 2016, 11:52:12 AM8/29/16
to Interactive Media Ads SDK
Hi Arnaud,

To replay, it's necessary to re-send the ad request and get a new VAST response (even though it might be identical).  The reason for that is impressions need to be generated and pinged again.  We also need a new AdsManager object for our ad listeners.  Right now it's not possible to cache a played ad and reuse it in the future.  

Let us know if you have additional questions,

Vu Chau
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages