question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[iOS 10] Cannot reset ads on iOS

See original GitHub issue

We utilize Iris.tv for one our clients. It allows a user to skip to a new video (provided by their api in chunks of 5 videos), like or dislike a video, etc.

When a video switch happens, the video source is changed, and we do another call to ads. On Desktop and Android, this works perfectly fine. On iOS 10 (Safari), this fails. It draws a black div and hides the player, and does nothing. It makes no network calls to any ad server, and doesn’t appear to do anything. I have an ad events plugin that acknowledges a timeout (a custom timeout on our end), so I know the ads plugin is triggering.

Is there a way to switch out ads in iOS that maybe I’m not seeing? I currently just call player.ima(options) again and that works on Android and iOS.

Player: http://staging.player.dotstudiopro.com/share/58c48e8397f8158a5e1ad4ff?targetelm=.player&companykey=56798e9197f815d36f339ee4&loopplayback=false&autostart=true&muteonstart=false&enablesharing=false&skin=0000ff

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
shawnbusocommented, Nov 15, 2017

Sweet, glad it’s working!

0reactions
chrisbousteadcommented, Nov 15, 2017

Confirmed- works with 5.1.3.

Not sure yet if there’s any clashes with the upgrade but simple pre-rolls worked with:

videojs: 5.2.8 videojs-contrib-ads: 5.1.3 videojs-ima: 0.6.0

As far as i’m concerned this issue can be closed as it was regarding subsequent prerolls only, but that’s your call. Thanks for the help @shawnbuso!

Read more comments on GitHub >

github_iconTop Results From Across the Web

how to reset advertising - Apple Support Communities
Go to Settings > Privacy > Advertising and you'll find the option to Limit Ad Tracking and Reset your Advertising Identifier. Show more...
Read more >
Limit Ad Tracking and Reset Your Advertising ID on Android or ...
Head to Settings > Google > Ads > Reset advertising ID and click OK when the confirmation screen appears. It would be best...
Read more >
How to quickly reset Advertising ID on Apple iPhone
How to reset Advertising ID on Apple iPhone ; Step 1: Open the “Settings” app from your Apple iPhone's home screen. ; Step...
Read more >
How to How (& Why) to Reset Advertising Identifier on iOS Guide ...
Open Settings, click General, and then click About. · Your ads that are shown to you are tied to past activities that are...
Read more >
How to Reset Your Advertising ID on iPhone - How-To Geek
Select “Privacy” from the Settings. Tap “Apple Advertising” at the bottom. Simply toggle off the switch for “Personalized Ads.”
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found