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

Flash plugin, how to change file to load?


Hello, I've been following the helloWorld tutorial for creating plugins for JWPlayer but I've just hit a wall, I can't seem to interact with the player itself, for example, how do I avoid loading the video?

I have:

public function initPlugin(player:IPlayer, config:PluginConfig):void {
api = player;
// How should I interact with the player? Making it load another video, etc?
};

Thanks

1 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Here is the plugin sdk guide – https://github.com/jwplayer/jwplayer-sdks/tree/master/jw6-plugin-sdk

Here is how to build flash plugins – https://github.com/jwplayer/jwplayer-sdks/blob/master/jw6-plugin-sdk/docs/plugins-flash.md

Here is a copy of the hello world js plugin – https://github.com/jwplayer/jwplayer-sdks/blob/master/jw6-plugin-sdk/plugins/helloworld/helloworld.js

For actionscript, here is a shell for the helloworld.as plugin – https://gist.github.com/emaxsaun/65e30d12f6e587ab2df7

Here is a full version as well – https://gist.github.com/emaxsaun/7db233ac9fa5a4fb41ae

This question has received the maximum number of answers.