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

Loading Playlist Stopped Working


Hello,

In my project I have been dynamically loading files into a playlist and then loading the playlist itself into JWPlayer. For some unknown reason, without any changes being applied to the page , the loading of the playlist no longer works and the displayed playlist is broken. It should be noted that this page did, without any doubt, work well in the past and was even tested by our QA team.

Did something change in Jwplayer recent versions that could cause this problem?
I'm accessing the could-stored version directly, thus are version is always up to date.

Sadly I can't send a direct link, because the relevant pages are accessible only through user login. hOwever I'll try to explain the process of loading the playlist into Jwplayer.


The setup of the player is:
jwplayer("myVideoPlayer").setup({
file: [LINK to default file],

skin: "bekle",
logo: { file: [LINK],
link: null,
hide: true,
margin: 0
},
listbar: {
position: 'right',
size: 175
},
sharing: {
link: "http://MEDIAID"
},
abouttext: "PlaySight",
aboutlink: [LINK],
ga: {},
width: 945,
height: 542
});




The information about all the loaded files are stored in three arrays: FilesPathsArray[], SessionNamesArray[] and ShareURLsArray . The information is extracted into a playlist in the following loop:

var playlist = new Array();

for (var i = 0; i < FilesPathsArray.length; i++) {

var newItem = {
file: FilesPathsArray[i].toString(),
title: SessionNamesArray[i].toString(),
image: [link],
mediaid: ShareURLsArray[i].toString()
};
playlist.push(newItem);
};

jwplayer("myVideoPlayer").load(playlist);


Regards,

3 Community Answers

Ethan Feldman

JW Player Support Agent  
0 rated :

Code looks fine to me, can’t really tell without a link.

evgeni.khazanov

User  
0 rated :

Hi Ethan,

We have discussed this in the company and decided that we should send you over user credentials with instructions, so that you can reach the relevant page on our website and see the problem.

To what email address should I send you the information?

Regards,

Ethan Feldman

JW Player Support Agent  
0 rated :

You can get the direct email from – https://account.jwplayer.com/

This question has received the maximum number of answers.