I’m using Exoplayer 3
along with the IMA SDK
. I need to show ads at specific times. Currently when I show the ads, they always appear at the beginning of the video.
I currently have AdsLoader
and DefaultMediaSourceFactory
integrated.
As data I have the URL of the ad and the second one in which it will be shown. All this within a list ("tag_url","start")
Does anyone know how I can show those ads at any time I want (for example at the 30th and 270th second)?