react-native-theoplayer
Version:
A THEOplayer video component for react-native.
22 lines (21 loc) • 636 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.THEOAdsWebAdapter = void 0;
class THEOAdsWebAdapter {
constructor(player) {
this._player = player;
}
get currentInterstitials() {
return Promise.resolve(this._player.theoads?.currentInterstitials ?? []);
}
get scheduledInterstitials() {
return Promise.resolve(this._player.theoads?.scheduledInterstitials ?? []);
}
replaceAdTagParameters(adTagParameters) {
this._player.theoads?.replaceAdTagParameters(adTagParameters);
}
}
exports.THEOAdsWebAdapter = THEOAdsWebAdapter;
//# sourceMappingURL=THEOAdsWebAdapter.js.map