DAI Ad support into Picture-in-Picture

53 views
Skip to first unread message

Mohd Imran

unread,
Jan 31, 2023, 5:30:05 AM1/31/23
to Interactive Media Ads SDK

Hi Team,

We have Picture-in-Picture feature in our app and we also have DAI Ad support through IMA SDK. Currently we are working on playlist feature. 

Right now when the current video from the playlist is running within the app and if the video has Ad, it is working fine but when next video starts from playlist  into Picture-in-Picture and if it has Ad, then Picture-in-Picture getting disappear.

We checked and found that  when we get the callback into below delegate 

- (void)adsLoader:(IMAAdsLoader *)loader adsLoadedWithData:(IMAAdsLoadedData *)adsLoadedData 

and here when we assign self.streamManager = adsLoadedData.streamManager 

after that Picture-in-Picture disappears.

streamManager is object of type IMAStreamManager

When Picture-in-Picture disappears we do not get any callback in below delegates

- (void)adsLoader:(IMAAdsLoader *)loader failedWithErrorData:(IMAAdLoadingErrorData *)adErrorData

- (void)streamManager:(IMAStreamManager *)streamManager didReceiveAdError:(IMAAdError *)error

- (void)adsManager:(IMAAdsManager *)adsManager didReceiveAdError:(IMAAdError *)error

Can you please let us know is this possible to support the Ad in Picture-in-Picture?

Development Environment

    Xcode Version 14.0

     IMA-iOS-SDK 3.14.4

     iPad Pro iOS 16.0

Thanks & Regards

Mohammad Imran

IMA SDK

unread,
Jan 31, 2023, 2:04:10 PM1/31/23
to ima...@googlegroups.com

Hello Mohammad,

 

Michael here from IMA SDK Support team. Thank you for reaching out to us.

 

Would you be able to confirm if you have reproduced the same behavior using one of our sample apps? If so, kindly share to us the below information:

  • exact sample app used to replicate the behavior
  • Screen recording of the behavior for better illustration of the issue
  • VMAP Tag / VAST ad tag url used

 

You may send the requested details privately via "Reply To Author" button or with the below process.

 

If you are having trouble attaching your file to this case or if your file(s) are larger than 25mb, you can share your files with me by performing the following steps:

 

1. Navigate to

https://docs.google.com/forms/d/e/1FAIpQLSfkAiXMeYP-fw1W3Z-tT9uwmATEKO5X6S-th0gR2ezdKaaqfg/viewform?usp=pp_url&entry.400550049=IMA+SDK&entry.460850823=5004Q00002iPmAzQAK&entry.80707362=00165358

2. Fill out all fields, and attach your file(s).

3. Please reply back on this thread when you have uploaded your file(s). Please do not share this link.

 

Regards,

Google Logo
Michael Angelo
IMA SDK Team
 


ref:_00D1U1174p._5004Q2iPmAz:ref
Reply all
Reply to author
Forward
0 new messages