Lucas
Lucas

Reputation: 101

continuous playing playlist

i've got a jw player with an asx playlist, but it only plays one track at a time, requiring the user to skip to the next track. any way to make it keep playing with no pauses between tracks? please let me know. thanks!

var so = new SWFObject('mediaplayer/player.swf','wrapper','300','20','2'); so.addParam('allowscriptaccess','always'); so.addParam('allowfullscreen','false'); so.addParam("seamlesstabbing","true"); so.addParam('flashvars','file=tracks.xml&autostart=true&loop=true'); so.write('player');

Upvotes: 0

Views: 4524

Answers (2)

TaeKwonJoe
TaeKwonJoe

Reputation: 1167

I had to add the repeat FlashVar with a value of list to a JW Player (v5.9) with an asx playlist today to get the desired playlist functionality you described.

var so = new SWFObject('/players/jwPlayer.swf','mediaPlayer','400','320','8'); 
so.addParam('allowscriptaccess', 'always');
so.addParam('allowfullscreen', 'true');
so.addParam('wmode', 'transparent');
so.addVariable('repeat', 'list');
so.addVariable('width', '400');
so.addVariable('height', '320');
so.write('player'); 

Upvotes: 4

Lucas
Lucas

Reputation: 101

the correct flashvar parameter is 'repeat' and the correct setting is 'always' for absolute repeating, while the 'list' setting will play each item once and end when the entire playlist has been played.

Upvotes: 0

Related Questions