IMA iOS SDK video not fullscreen

355 views
Skip to first unread message

Tommy Dwi Putranto

unread,
Mar 17, 2021, 12:52:08 AM3/17/21
to Interactive Media Ads SDK
Hi, i have problem when using GoogleInteractiveMediaAds. 
when I build on iphone X the view is like this 
WhatsApp Image 2021-03-17 at 11.44.09.jpeg
the video view is not full screen .
but when I build with smaller screen like iphone 8. the view is like this
WhatsApp Image 2021-03-17 at 11.50.17.jpeg
the video is fullscreen

any suggestion or solution for me to full screen all video ads ? 

Thanks in advance

IMA SDK

unread,
Mar 17, 2021, 3:36:50 AM3/17/21
to tommypu...@gmail.com, ima...@googlegroups.com
Hi there,

Thank you for reporting this to us.

For us to further assist you further, Could you please provide the following details privately or sending it directly to imate...@gmail.com?
  • Ad tag
  • sample project where the issue is reproducible
Regards,
Google Logo
Teejay Wennie Pimentel
IMA SDK Team
 


ref:_00D1U1174p._5004Q2DwGUh:ref

Tommy Dwi Putranto

unread,
Mar 17, 2021, 4:25:12 AM3/17/21
to Interactive Media Ads SDK
I just you an email to  imate...@gmail.com . hope you help me. thanks

IMA SDK

unread,
Mar 17, 2021, 9:22:12 AM3/17/21
to tommypu...@gmail.com, ima...@googlegroups.com
Hi Tommy,

I work with Teejay and will assist you. Thank you for sending us your project in private. I replicated your issue in an iPhone12 Pro MAX simulator having the overlays out of bounds of the ad and in the iPhone SE second generation simulator the overlays where in the bounds of the ad. Note that the ad with a different aspect ratio that played sometimes always had the overlays out of bounds. 

When looking at the size of the VideoView in different "View As:'phone model'" types, there were different aspect ratios depending on phone model. When I gave an aspect ratio constraint and reprioritized the other constraints I got a more consistent across devices behavior with the tall musical instrument ad. You may want to experiment with your constraints to get the consistent look you desire to achieve.

Regards,

Google Logo
Aryeh Baker
IMA SDK Team
 

 

ref:_00D1U1174p._5004Q2DwGUh:ref

Tommy Dwi Putranto

unread,
Mar 17, 2021, 10:04:34 AM3/17/21
to IMA SDK, ima...@googlegroups.com
Hi Aryeh Baker,
Thank you the answer. I try to change my constraint to equal view screen but the video still not full screen. any suggestion or solution to me ? and if I add an aspect ratio, what the ratio I must to set to full screen all view iphone  ?


thanks

Tommy Dwi Putranto

unread,
Mar 17, 2021, 10:44:09 AM3/17/21
to IMA SDK, ima...@googlegroups.com
Hi . try to change aspect ratio . the video is full screen but  the "learn more" text and the duration at left bottom like this picture. 
image.png

how i can change the position of "learn more" text and duration? so the text still on the window screen ?


thanks

On Wed, Mar 17, 2021 at 8:22 PM IMA SDK <imasdkfor...@gmail.com> wrote:

IMA SDK

unread,
Mar 17, 2021, 12:11:53 PM3/17/21
to tommypu...@gmail.com, ima...@googlegroups.com
Hi Tommy,

This is a general iOS programming issue how to set up your constraints so that the view is entirely visible yet the correct aspect ratio on all phones. The view as set up without an aspect ratio constraint will have a different aspect ratio on different phones. You may want to adjust the priority of other constraints and make certain on different phone models that the videoView isn't off screen.

Tommy Dwi Putranto

unread,
Mar 17, 2021, 12:27:52 PM3/17/21
to IMA SDK, ima...@googlegroups.com
Thank you for the answer. So that's mean, is nothing possible to full screen video (without show black blackground)  and "learn more" text or text skip in one window right ? It's depend on video ads I add on tag ?


Or if I want to customize the "learn more" text or skip text or duration (bottom life position) .  It can be customize on app ? Or is there any method to customize it?

IMA SDK

unread,
Mar 17, 2021, 5:28:00 PM3/17/21
to tommypu...@gmail.com, ima...@googlegroups.com
Hi Tommy,

You can use the width and height of the ad to programmatically adjust the videoView as the Advanced Example shows you can adjust the size of the view in mid play when changing to landscape orientation. 

Tommy Dwi Putranto

unread,
Mar 17, 2021, 11:55:24 PM3/17/21
to Interactive Media Ads SDK
Hi

Is any method available now to customize ui elements like learnmore or skip button? and how to customize it ?

Or is there any way to hide learn more button or change the position?

IMA SDK

unread,
Mar 18, 2021, 3:02:02 AM3/18/21
to tommypu...@gmail.com, ima...@googlegroups.com

Hi Tommy,

Thank you for your message. I’m afraid, the IMA SDKs do not support changing the layout, size, or content of UI elements like the "Learn more" and “Skip" buttons.


Regards,


Google Logo
Sherwin Diesta
IMA SDK Team
 

 

ref:_00D1U1174p._5004Q2DwGUh:ref

Tommy Dwi Putranto

unread,
Mar 18, 2021, 3:18:05 AM3/18/21
to Interactive Media Ads SDK
Thank you for the clarification
Reply all
Reply to author
Forward
0 new messages