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

'default' : 'true' not working anymore?


Hi,

Is it correct that 'default' : 'true' in the file selection isn't working anymore? I had setup 3 sources. They are shown in themenu, but the one I set with default: true isn't playing as the first one. I tried it a lot of times with different configs and deleted all the cookies and set the source to be the middle one, but it Always starts with the first one and not the default one.

5 Community Answers

JW Player

User  
0 rated :

Sorted this out already. This is not a bug and working correctly!

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it!

JW Player

User  
0 rated :

I'm actually having trouble with this. I have a low and high quality flv file set in a playlist source with the high quality flv set to

"default": true

and an mp4 in the same source with both flv's coming before the mp4 in order.

I've been working on this player for quite a few months for a client and have just transferred it to their live site. I'm not sure what is going on but for some reason, some people's browsers are trying to play the mp4 first, even though it is the last item in the list. I had this problem for quite some time when I was first setting up the player on a developmental site but after setting up every item jwplayer had to offer to force the player to use the flv fies it finally started using them.

I just don't understand what would be causing the player to do this. My exact code for my player setup is below:

bc.. jwplayer("myElement"+category).setup({
skin: "/jwplayer/skins/myskin.xml",
playlist: [{
sources: [{
file: "/multimedia/library/high"+media_id+".flv",
label: "Web High Quality",
type: "flv",
"default": true
},{
file: "/multimedia/library/"+media_id+".mp4",
label: "iOS",
type: "mp4"
},{
file: "/multimedia/library/low"+media_id+".flv",
label: "Web Low Quality",
type: "flv"
}]
}],
autostart: "true",
primary: "flash",
height: 360,
width: 720
});



Also, before some one ask, I can't give a link to the actual page because the site is password protected and the player is only listed in those parts of the site.

JW Player

User  
0 rated :

And I fixed my issue.

Ethan Feldman

JW Player Support Agent  
0 rated :

Glad you got it!

This question has received the maximum number of answers.