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

Does JW7 have a working plugin implementation?


Hello,
I can't seem to find any documentation on this for JW7. The old plugin demos don't work either.

Here's a simple example to illustrate the problem

```
var Plugin = function(player, config, div) {

function setup(evt) {
console.log('setup called');
}

player.onReady(setup);

this.resize = function(width, height) {
console.log('resize called', width, height);
};

};

var minPlayerVersion = '7.0';
var pluginName = 'helloworld';

jwplayer().registerPlugin(pluginName, minPlayerVersion, Plugin);

console.log(jwplayer().plugins.helloworld);
// undefined
```

None of the console statements gets logged, and the inspection of `jwplayer().plugins.helloworld` returns undefined. Any thoughts?

Thank you

3 Community Answers

Alex

JW Player Support Agent  
-1 rated :

Hi, there.

We don’t have built-in support for building plugins for JW Player any longer. However, we have greatly expanded our JavaScript API for customers who would like to build out more functionality.

Please let me know if you need any more help or have any other questions.

Thank you!

smoujami N/A

User  
-1 rated :

Thanks Alex.

I guess the confusion is in the registerPlugin() method still being part of the api, as well as the player.plugins namespace.

Alex

JW Player Support Agent  
-1 rated :

I do not see any reference to registerPlugin() in either our JavaScript API or Platform API. Can you provide a link?

This question has received the maximum number of answers.