Order Now AdSolution Sign Up | Login » Bits on the Run Sign Up | Login »

Forums

/

can i add a sing file before playlist

1 reply [Last post]

hi
i want to play a ...hi
i want to play a singfile.flv and then show playlist.xml

just like youtube when people get the page ,,jwplayer play a singfile,then after that show a playlist.(just show not to play)

i use the scipt below:

<script type='text/javascript' src='swfobject.js'></script>

<div id='mediaspace'>This text will be replaced</div>

<script type='text/javascript'>
var so = new SWFObject('player.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('file','123.flv');
so.addVariable('playlistfile','playlist.xml');
so.addVariable('playlist','over');
so.write('mediaspace');
</script>

but thist just list the playlist but can not play 123.flv
can anyone help.

I was wondering the same thing. I wan't the player to run one flv, then go to the start of the playlist if the user clicks next or onto the playlist.