googleads-ima-ios icon indicating copy to clipboard operation
googleads-ima-ios copied to clipboard

how to show ima ads everytime a new video is played

Open anooravk opened this issue 1 year ago • 0 comments

im trying to implement ima ads in avplayer and then taking the view to flutter via method channel and on flutter side ive a next and previous button on which i switch between videos since avplayer doesnt take a list of urls so what im doing is

  1. create AVPlayer object
  2. stop AVPlayer (old video)
  3. goto step 1 with new video URL

now what i want to achieve is that every time the video is changed via next or prev the ads should also load, currently they only show up for first video and thats it

anooravk avatar May 20 '23 16:05 anooravk