![](https://secure.gravatar.com/avatar/a85f641e3cb1c37f71d834d64b2871ad?rating=PG&size=50&default=https%3A%2F%2Fcdn.desk.com%2Fassets%2Funknown_user_50-8ad5644bbe6b1bd7454f2ea465f782bd.png)
Explain on.AdBlock
Not much is given on how this function works.
The way I am trying to understand it:
If JWPlayer itself notices AdBlock, it will then allow me to do whatever with the discover?
playerInstance.on('AdBlock', function(e){
$("#trailer_addict_video_frame").html("<p>Go F*ck Yourself</p>");
});
So basically destroy the created video in favor of some message? Does JWPlayer have a guide/tutorial on a better implementation?
Cheers
Ryan