AVPlayerViewController and IMA

179 views
Skip to first unread message

rmodi

unread,
Jul 31, 2017, 3:01:29 PM7/31/17
to Interactive Media Ads SDK
For our ios app, I would like to use AVPlayerViewController with Google IMA to render ads. This is so we don't have to write all the code for the controls,pip etc ourselves when we user AVPlayerLayer. 

We start off with a small video container that hosts the IMA and the AVPLayerViewController. All works great until the user selects fullscreen on the AVPlayerVIewController at which point it leaves the video container and plays full screen. The midrolls and post rolls then play underneath the player in the video container.

Is there any way/trick to move the ads into/and back from a fullscreen AVPlayerController's view heirarchy? Or any chance that you will support AVPlayerVIewController at some point in the future.
Just want to make sure that I have not missed anything before writing a custom player.

Thanks
Rahat 

Chris Feldman (IMA SDK Team)

unread,
Jul 31, 2017, 4:26:53 PM7/31/17
to Interactive Media Ads SDK
Hi Rahat,

The IMA SDK for iOS does not currently support the AVPlayerViewController. I'm not able to say when or if support for this may be added in the future, but you can follow our release notes page for information about new features and releases. We also have a blog.

Please let me know if you have any further questions.

Regards,
Chris Feldman
IMA SDK Team
Reply all
Reply to author
Forward
0 new messages