Back to v9 documentation index
Offering ad skipping options to your audience is great way to monetise your content while providing a gentle and smart viewing experience. Radiant Media Player supports ad skipping in the following way:
Player API methods
skipAd()
rmp.skipAd();
This method orders the player to skip the currently displayed ad
(and to resume content). This method only has effects if the ad is a skippable ad and is
in a state where
it can be skipped. You may query the getAdSkippableState API method to know
if an ad can be skipped or not.
getAdSkippableState()
rmp.getAdSkippableState();
This method returns a
Boolean stating if the ad on stage can be skipped
(returns true) or not (returns false).
Player API events
adskippablestatechanged
Fires when the displayed ads skippable state is changed
adskipped
Fires when the ad is skipped by the user
©2015-2024 Radiant Media Player. All Rights Reserved.