jScrollPane with JWPlayer javascript playlist

838 views Asked by At


I'm trying to use jScrollPane ( http://jscrollpane.kelvinluck.com/ ) with JWPlayer 5.2 playlist ( http://www.longtailvideo.com/support/jw-player/jw-player-for-flash-v5/23/creating-a-javascript-playlist ) but with no luck: the playlist is alright but the jScrollPane is not attached

I'm using JWPlayer 5.2 since the above tutorial states this is one of the "working" version with javascript playlist; anyway, no problem with the player, just with the playlist

Here's my demo: http://www.ivansweb.com/_test/player/jwplayer/index.php

Please, can you help?
Thanks a lot in advance!

1

There are 1 answers

1
skiplecariboo On BEST ANSWER

This is because you are initiliazing jScrollPane on the jw_playlist_playlist div. This div seems to be generated by JWPlayer and is not here at the moment you try to add the scrollbar.

You should fire the jScrollPane initialization when you are sure JWPlayer is ready and has created the playlist. I am not familiar with JWPlayer but it looks like it has different events you could use or this ;)