Closed bernardlau closed 5 years ago
Hi @bernardlau,
Normally, you don't need to call the adsLoader.contentComplete()
, the Videojs-IMA plugin does that for you automatically, the instruction is executed on this line.
If you wanna force the adsLoader contentComplete call, you can do so by accessing the AdsLoader via the player.ima.controller.sdkImpl
, the right example would be player.ima.controller.sdkImpl.adsLoader.contentComplete()
.
The case 801 was not an issue with the plugin that we had to fix, it was an implementation specific to the user's application. The ad server will prevent you from requesting the same ad repeatedly during same stream a work around would be to call contentComplete on the adsLoader and then request the ad again.
Thank you for the timely reply. Closing this ticket as question has been answered.
Cheers @arnaudcasame
How do I call adsLoader and then run adsLoader.contentComplete()
Originally posted by @huangdaman in https://github.com/googleads/videojs-ima/issues/801#issuecomment-497634740
Was this ever fixed/implemented? I am currently trying to clean up the ad in order to have another set of ads to play for the video as suggested by SDK documentation.