
Additional Parameters for playvid() - Playlist doesn't display correct Videotitles
Hello,
I'm working for a customer who actually bought your script. Thing is there have been several people working on the customers site before I started there.
Neither do I know if it's normal to pass the image-location to the playVid() function nor do I know if I even have to pass the time to it.
However, I had to add the last parameter to handle some related database-functions. The function-call now looks like this:
playVid('b7akJd356VM&feature=youtube_gdata_player' , '7' ,'Android Lust - Follow' ,'http://i.ytimg.com/vi/b7akJd356VM/0.jpg' ,'04:20', 'noTT');
As far as I could analyze it using firebug it's working fine if I just cut out the last 3 parameters.
If I don't it'll add just the time and the last Parameter to the stream_titel-container when the next title is played. Like '04:20','noTT'.
Also the first playlist-item works fine, I guess because the function getPlayedVideo() isn't called on the first one.
I followed all calls to the getPlaylistItem() function here:
jwplayer("stream_player").onPlaylistItem(
function(){
var item = jwplayer("stream_player").getPlaylistItem();
var itemx = item.title;
document.getElementById('stream_titel').innerHTML = ' '+itemx;
}
);
As your js-file seems to be minified i'd be really nice (and time saving) if you could tell me either what that function does or how to change the behavior.
kind regards,
chris
P.S. I'm german so please excuse the bad english.