[Android IMA] How to use Resizable Player ?

66 views
Skip to first unread message

Gourav Saxena

unread,
Oct 8, 2020, 12:27:26 PM10/8/20
to Interactive Media Ads SDK
Hi There,

I am going through ResizablePlayer API. As mentioned that it is to resize the VideoAdPlayer with in the ads container. 

As it is an interface, i am expecting resize to be a part of VideoAdPlayer or is there any other way to implement it ?

Please help me on this.

-Thanks
Gourav

Gourav Saxena

unread,
Oct 8, 2020, 12:28:41 PM10/8/20
to Interactive Media Ads SDK, Gilad Nadav
+ Gilad

Regards,
Gourav


--
You received this message because you are subscribed to the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ima-sdk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ima-sdk/920c58e9-eb1a-4a4e-b9d7-458a0286cc2fo%40googlegroups.com.

IMA SDK

unread,
Oct 8, 2020, 4:11:45 PM10/8/20
to gourav...@gmail.com, gilad...@kaltura.com, ima...@googlegroups.com
Hi Gourav,

Thank you for bringing this question to our attention. I will be happy to help you today with this. Based on what you have presented, yes the resize would be part of the ResizablePlayer API. This would then be applied to the VideoAdPlayer that is within the container as you mentioned.

They are 2 different interfaces, and as you will see, the VideoAdPlayer is also implementing AdProgressProvider VolumeProvider

Regards,
Google Logo
William Pescherine
IMA SDK Team
 


ref:_00D1U1174p._5004Q267oZk:ref

Gourav Saxena

unread,
Oct 9, 2020, 12:28:03 AM10/9/20
to IMA SDK, gilad...@kaltura.com, ima...@googlegroups.com
Hi William,

Thanks for the explanation but the question is that I don't see any method to implement for VideoAdPlayer .

Attaching screenshot of IMA advanced sample. You are right that it implements AdProgressProvider VolumeProvider but the problem is that there is no resize method. I think that I am not able to understand. Please help me on this .

Regards,
Gourav

Screenshot 2020-10-09 at 9.52.55 AM.png

IMA SDK

unread,
Oct 9, 2020, 6:34:22 AM10/9/20
to gourav...@gmail.com, gilad...@kaltura.com, ima...@googlegroups.com
Hi Gourav,

I work along with William. Allow me to assist you in this.

I also confirmed that the VideoAdPlayer implements AdProgressProvider VolumeProvider. However, there is no resize method. With this, let me raise this to the rest of the team to get their insight as well. We'll get back to you the soonest they provide their feedback.

Regards,
Google Logo
Teejay Wennie Pimentel
IMA SDK Team
 


ref:_00D1U1174p._5004Q267oZk:ref

Gourav Saxena

unread,
Oct 9, 2020, 8:17:42 AM10/9/20
to IMA SDK, gilad...@kaltura.com, ima...@googlegroups.com
Thanks a lot Teejay 🙂

Regards,
Gourav

Gourav Saxena

unread,
Oct 13, 2020, 2:43:37 AM10/13/20
to IMA SDK, gilad...@kaltura.com, ima...@googlegroups.com
Hi Teejay,

Please let us know if you received any updates from the team.

Regards,
Gourav

IMA SDK

unread,
Oct 13, 2020, 4:34:29 PM10/13/20
to gourav...@gmail.com, gilad...@kaltura.com, ima...@googlegroups.com
Hello Gourav,

Sorry for the delay in response. My name is Jackson from the IMA developer relations team.

The best way to use ResizablePlayer is to create your own custom class that implements both VideoAdPlayer and ResizablePlayer. Your custom player class will then have all the methods associated with the VideoAdPlayer making it compatible with IMA. It will also have the resize() method from ResizablePlayer.

If you have any other questions feel free to reply here.

Thank you,
Jackson
IMA SDK DevRel

ref:_00D1U1174p._5004Q267oZk:ref

Gourav Saxena

unread,
Oct 15, 2020, 2:30:00 AM10/15/20
to IMA SDK, gilad...@kaltura.com, ima...@googlegroups.com
Hi Jackson,

Thanks for the response. We will try to implement it and let you know if we face any issues.

Regards,
Gourav

Reply all
Reply to author
Forward
0 new messages