Can anyone tell me why I can't get a player to work with a playlist?
I have tried absolutely every suggestion I could find on this forum, but all I get is a blank screen.
the code I have on my html page is this:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Video Catologue Neil Bayley-Hay</title>
<style type="text/css">
body { background-color: #fff; padding: 0 20px; color:#000; font: 13px/18px Arial, sans-serif; }
a { color: #360; }
h3 { padding-top: 20px; }
ol { margin:5px 0 15px 16px; padding:0; list-style-type:square; }
</style>
</head>
<body>
<h3> </h3>
<div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type='text/javascript' src='/embed/swfobject.js'></script>
<div id='mediaspace'>This div will be replaced</div>
<script type='text/javascript'>
var s1 = new SWFObject('http://www.yourpieceoftheplanet.com/main_video/player.swf','ply','640','260','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','file=http://www.yourpieceoftheplanet.com/main_video/playlist.xml&playlist=right&playlistsize=280&streamer...');
s1.write('mediaspace');
</script>
</body>
</html>
I have a folder main_video loaded with a playlist.xml file that is this:
<?xml version="1.0" encoding="UTF-8" ?>
- <playlist version="1" xmlns="http://xspf.org/ns/0/">
- <trackList>
- <track>
<creator>Artist</creator>
<title>Why Some Houses Dont Sell</title>
<location>http://www.yourpieceoftheplanet.com/movie_1/houses_dont_sell.flv</location>
<image>http://www.yourpieceoftheplanet.com/film_2.jpg</image>
</track>
- <track>
<creator>Artist</creator>
<title>Video 1</title>
<location>http://www.yourpieceoftheplanet.com/movie_2/buying_with_nbh.flv</location>
<image>http://www.yourpieceoftheplanet.com/film_2.jpg</image>
<info>http://www.yourpieceoftheplanet.com/</info>
</track>
</trackList>
</playlist>
also in the main_video folder is:
player.swf
swfobject.js
I am more of a designer than a coder - is there a coder out there who can tell me what the heck I am doing wrong?


ok - so thanks to a quick email response from Ethan - who gave me a complete example page - I now have a working playlist !!!