Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

JWPlayer callback function is not getting executed

In code shown below overlay function is not called.

(function(jwplayer) {
var overlay = function( player, config, div ) {

jwplayer().registerPlugin( 'overlay','2.0', overlay );

Please help me with it. Also I am not receiving any errors on console.

Is registerPlugin API deprecated in JWPlayer 7. If yes, what is an alternative?

1 Community Answers


JW Player Support Agent  
0 rated :

There is no registerPlugin() in JW7, but we do have


Targets a particular plugin for API calls. Currently functions with our Sharing and Related plugins.

Please see for more details.

What are you trying to do with this code?

This question has received the maximum number of answers.