Radiant Media Player

Ad-blocker detection



Ad-blocker detection documentation sections


Your business model is at risk

As of Q2 2015, 45 million Americans were using ad blockers. In a survey research study released Q2 2016, MetaFacts reported 72 million Americans, 12.8 million adults in the UK, and 13.2 million adults in France were using ad blockers on their PCs, Smartphones, or Tablets.

Wikipedia https://en.wikipedia.org/wiki/Ad_blocking

Stop revenue loss today! You have the right to counter ad-blocking software to keep your business going.

An ad-blocker detection strategy should be in any project serious about making legitimate revenue with video ads. You can read our blog post on the subject for further insight on the subject.

Radiant Media Player offers two approaches to detecting ad-blocker: player API and rmp-ad-blocker-detection player extension.


Ad-blocker detection with Player API

The player exposes an adblockerdetected event and a getAdBlockerDetected method to identify if a viewer is using an ad-blocker. This is available for both the IMA SDK and rmp-vast ad parsers. See here for more information. The related API method/event are available when the player API ready event fires after the player has been initialised. It is up to you to act upon ad-blocker detection.


Ad-blocker detection with rmp-ad-blocker-detection player extension

This open-source player extension provides a more comprehensive way to deal with ad blockers. On top of detecting ad-blockers this extension lets you display an in-player customisable message to your audience requiring ad-blocker de-activation for playback to start.

A working example can be found here .


Tested ad-blockers

Over the past few years we have seen many ad-blocker solutions coming to the market. Most common ad-blockers are browser extensions generally "free" to install. It is also to be noted that browser vendors are starting to implement (or are showing interest into implementing) their own ad-control strategy. We have tested our ad-blocker detection approach against:

  • Adblock Plus
  • AdBlock Pro
  • AdBlock
  • uBlock
  • Opera built-in ad-blocker feature (since Opera 37+)

Feel free to contact us with feedback on detecting ad-blockers.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 3.0 License.