Adblock Posted November 4, 2022 Share Posted November 4, 2022 How can I enable the API event to register Adblock users in the newest version? Quote Link to comment Share on other sites More sharing options...
Tech Support Posted November 7, 2022 Share Posted November 7, 2022 In order to use KVS player API you need to make sure that player object is assigned to some variable (this happens in new themes already): window['player_obj'] = kt_player(...); Then you can use this code to listen for adblock detected event: window['player_obj'].listen('ktAdblockDetected', function() { log('ktAdblockDetected'); }); Quote Link to comment Share on other sites More sharing options...
Adblock Posted November 7, 2022 Author Share Posted November 7, 2022 Thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.