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

Forums

/

xml playlist won't work

7 replies [Last post]

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 !!!

i am having the same problem...could you send me the example as well? thanks

heath@mvptv.tv

I have the same problem here. Would like to feed my player with videos I have on my server instead of a youtube playlist.

can anyone help me please?
starfabrik@hotmail.com

thank you!
mattk

This was my response from Ethan:

I have set up a demo of a working playlist with the 4X version of the player here - http://qa.longtailvideo.com/demos/ethan/playlist.html, it will show you a proper implementation.

Here is the xml file I am using for the demo - http://qa.longtailvideo.com/demos/ethan/playlist2.xml

Let me know if you have any other questions, thank you.

Best,
-Ethan

Ethan

How do you get the videos to only play with a screen click in your playlist?

Mine want to play when you selected them from the list and then they only play the audio through first - then when you click play again both video and audio play.

hello does anybody know here regarding S3Media Stream 5.0.0?

i ahve created playlist but then when i click to my thumbs the video plays on different window..
please advice...

thanks!

-david

Can you provide a link?