Building JavaScript Plugins | LongTail Video | Home of the JW Player

JW Player 5.3 introduced HTML5 support and a new JavaScript API Reference that runs seamlessly across all modes of the player. However, because Flash plugins can’t run in HTML5 mode and because the player had no method for loading pre-packaged JavaScript code, there was no good way to easily distribute code that relied on the new API.

With JW Player 5.5, we are introducing a new *JavaScript* Plugin API. All of the power and flexibility of the 5.3 player’s JavaScript API is now available with a simple distribution mechanism similar to that of Flash plugins. This means your plugins will run seamlessly in both Flash and HTML5 mode, with no additional work on your part.

We have added in mechanisms for placing visual assets in the player’s display area, adding dock buttons, and allowing JavaScript plugins to expose a public API. All of these together create a strong foundation on which to build powerful plugins.

via Building JavaScript Plugins | LongTail Video | Home of the JW Player.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s