Go
Not registered? Sign up!

Accessing playlist feed from a plugin

Google Translate
3 posts | return to the Plugins forum | get the rss feed for this thread

Oct. 26, 2009AlexRosen

Hi,

Can anyone please help me out and tell me how to access the index of the currently playing item in a playlist and the playlists length from within a plugin.

I want to only show the plugin at the end of the playlist but at the moment I am showing it when the ModelEvent changes to completed. This means it flashes up inbetween items in the playlist.

I'm rather stumped - any help greatly appreciated.

Cheers
Alex

Oct. 26, 2009Zachary Ozer

Hi Alex,

view.config.item will give you the currently playing item, view.getPlaylist() will give you the playlist

Oct. 26, 2009AlexRosen

Brilliant thanks Zachary!

Add a reaction

You can also return to the category or try this search for related threads.


 

Search the Forums

Go

Support

Support Here are some helpful links to learn more about the JW Player™:

Monetize Your Video

Monetize Your Video Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!

Why Buy a License?

Why Buy a License? If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.