Hello! I was read manual, but I didn't may setup playlist. Help me please. This my code of HTML page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Flash</title>
</head>
<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-viral.swf','ply','470','320','9','#ffffff');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('playlist','bottom');
so.addVariable('file','playlist.xml');
so.addVariable('file','http://content.longtailvideo.com/videos/flvplayer.flv');
so.write('mediaspace');
</script>
<body>
UP!!^^^^^^^^^^^^^^^^^^^
</body>
</html>
P.S. May I change playlists's design, and how?
Sorry for my awesome english =)
You can only have one file flashvar.
Choose either the playlist or the single file.
To change the appearance of the playlist display area, use a skin from:
http://www.longtailvideo.com/addons/skins
To allow room for the playlist display, increase the player's height.
height = displayarea + controlbar + playlisttracks
For a 4:3 video:
352 + 20 + (3 * 60) = 534
Some skins have controlbars that are more than 20px, so add the correct controlbar height if you choose a different skin.
Some skins have tracks that are more or less than 60px, so add or subtract the appropriate amount.
If you want more or less than the default playlist height of 180 (3 standard tracks), then use the playlistsize flashvar to set the height of the playlist display. Add or subtract the appropriate amount from the player's total height.
flashvars documentation:
http://developer.longtailvideo.com/trac/wiki/FlashVars