overlay is not working in mobile browser

397 views
Skip to first unread message

Nafisa Kanwal

unread,
Feb 11, 2016, 5:07:09 AM2/11/16
to Interactive Media Ads SDK

I have used 
  player.ima.initializeAdDisplayContainer();
for mobile, but still not working in mobile.

Here is my sample code
var player = this;
var options = {
          id: 'example_video_1',
        player.ima(options);
        player.ima.initializeAdDisplayContainer();
        player.ima.requestAds();
       

Urgent help is needed.
Thanks in advance

Tyler Sidell (IMA SDK Team)

unread,
Feb 11, 2016, 12:30:22 PM2/11/16
to Interactive Media Ads SDK
Hi Nafisa,

Are you experiencing this issue with both Android and iPhone mobile browsers?  Please note that overlays are not supported on iPhone browsers.  Please see our compatibility page to view our support.

I've tested with your tag using the iPhone example provided and was able to see overlays on Android.  Can you please check the logic of the example against your implementation?

Please make sure that your init function looks similar to this.  You are using player.ima but please use this.player.ima instead.
Ads.prototype.init = function() {
 
// Create the player
 
this.createPlayer();
 
this.player = videojs('content_video');

 
// Initialize the IMA plugin
 
this.player.ima(
     
this.options,
     
this.bind(this, this.adsManagerLoadedCallback));
 
this.player.ima.initializeAdDisplayContainer();

 
// Request ads and play the video
 
this.player.ima.requestAds();
 
this.player.play();
};

You can also send a live example so we can take a look.

Thanks,
Tyler Sidell
IMA SDK Team

Nafisa Kanwal

unread,
Jul 26, 2016, 3:43:06 AM7/26/16
to Interactive Media Ads SDK
Its not working in the android browser , the ad campaign which i am using is creative source:youtube
Well working fine at desktop but in mobile its only show the blank screen instead of playing ad .

Tyler Sidell (IMA SDK Team)

unread,
Jul 26, 2016, 11:30:32 AM7/26/16
to Interactive Media Ads SDK
Hi Nafisa,

If the creative source is from YouTube, it will not play on mobile browsers. YouTube-hosted assets are only available on desktop at the moment.


Thanks,
Tyler Sidell
IMA SDK Team

Nafisa Kanwal

unread,
Jul 26, 2016, 11:46:56 AM7/26/16
to ima...@googlegroups.com

Thanks for the update


--
You received this message because you are subscribed to a topic in the Google Groups "Interactive Media Ads SDK" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/ima-sdk/FpV8wZaQAC4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to ima-sdk+u...@googlegroups.com.
To post to this group, send email to ima...@googlegroups.com.
Visit this group at https://groups.google.com/group/ima-sdk.
For more options, visit https://groups.google.com/d/optout.

Nafisa Kanwal

unread,
Jul 31, 2016, 12:39:17 PM7/31/16
to ima...@googlegroups.com
Hey Tyler 

Is there any way that we can play the creative source ad as a pre roll and after it we play google ads  

Please help me out ! 
Thanks in advance

Tyler Sidell (IMA SDK Team)

unread,
Aug 1, 2016, 10:43:00 AM8/1/16
to Interactive Media Ads SDK
Hi Nafisa,

I'm not sure how you are distinguishing Google ads but after you play your prerolls, the SDK will make a request to play your video content.  
  • You can use a VMAP playlist that plays preroll then "Google ads" next.  
  • You can serve overlays over the video content but I'd suggest speaking to your account manager about serving these types of ads.  
  • Please keep the previous conversation in mind where we discussed that YouTube hosted videos are not supported on mobile devices so it also does depends on the platform where you are displaying your ads and content.
Thanks,
Tyler Sidell
IMA SDK Team

Reply all
Reply to author
Forward
0 new messages