html5 sdk default settings

205 views
Skip to first unread message

pro...@tape.tv

unread,
Jun 13, 2014, 6:13:41 AM6/13/14
to ima...@googlegroups.com
Hey there,

what are the default settings for max redirects? 
I can't call getNumRedirects() on a google.ima.ImaSdkSettings instance to find out...

thanks,
Hannes

Shawn Busolits (IMA SDK Team)

unread,
Jun 13, 2014, 10:50:30 AM6/13/14
to ima...@googlegroups.com
Hey Hannes,

Sorry about that - it looks like those methods are getting obfuscated as part of our build, but they shouldn't be. We'll get that fixed, but in the mean time the answer to your question is the default maximum number of redirects is 4.

Thanks,
Shawn Busolits
IMA SDK Team

Todd Kuehnl

unread,
Aug 28, 2014, 12:33:10 PM8/28/14
to ima...@googlegroups.com
Any further progress on this? I am having a similar problem where I cannot enable VPAID support:

google.ima.ImaSdkSettings.setVpaidAllowed is not accessible.

Thanks!

Shawn Busolits (IMA SDK Team)

unread,
Aug 28, 2014, 1:10:14 PM8/28/14
to ima...@googlegroups.com
Hey Todd,

These settings should be available to you now. How are you trying to access them? I was able to set them by adding the following code to our advanced sample:

this.adsLoader_.getSettings().setVpaidAllowed(true);
this.adsLoader_.getSettings().setNumRedirects(2);

If that's not working for you let me know.

Thanks,
Shawn Busolits
IMA SDK Team

Giancarlo Amati

unread,
Sep 22, 2015, 1:50:42 PM9/22/15
to Interactive Media Ads SDK
Hi Shawn,

I have the same issue and tried to find a way to increase the number of redirect. This is my example:

I wanted to set it to 6 as a maximum, but it doesn't seem to accept my change. When you say this.adsLoader_.getSettings().setVpaidAllowed(true);, what is 'this' ? is it the Player? is it the player.ima3 ?

Many Thanks,
Giancarlo

Shawn Busolits (IMA SDK Team)

unread,
Sep 22, 2015, 2:55:59 PM9/22/15
to Interactive Media Ads SDK
Hi Giancarlo,

It looks like you're using Brigthcove, is that correct? Are you also using their ad plugin? If so I don't think you have direct access to the IMA SDK - you'll need to ask them how they've exposed this settings.

In HTML5, "this" refers to whatever the current object is, so what "this" is will depend on your implementation.

Thanks,
Shawn Busolits
IMA SDK Team

Giancarlo Amati

unread,
Sep 24, 2015, 9:31:15 AM9/24/15
to Interactive Media Ads SDK
Hi Shawn,

thank you. I'll double-check it. 

best,
GC
Reply all
Reply to author
Forward
0 new messages