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

Forums

/

Problems getting playlist to work

90 replies [Last post]

Hello,

I've changed the url locations to point to files on my server. (in the "playlist.xml" file that came with installation folder), but there is no list in the bottom of the player, i can only push next to get to the next item.

Here is the code. what have i done wrong? I'm playing with it for hours and have read all the documentation.
Thanks much for any help!

<embed src="mediaplayer.swf" width="520" height="380" allowfullscreen="true" flashvars="&file=http://gunav.co.il/f/playlist.xml&height=380&width=520&autostart=false" />

-------

And here is the url

http://gunav.co.il/f/44.html

P.S is it possible to hide the progress bar that appears in full screen?

1 thing i forgot to mention is that when i use the wizard to create a code for a play-list, and in the url i enter "http:\\gunav.co.il/f/playlist.xml", the lines are circling around in the middle but the flash player doesn't come up.

@Jack,

The progress bar in fullscreen can't be hidden at this time.

To get a playlist to show, you have to create some more height for it. Set displayheight=360 for the video height that you want, then add 20 for the control bar and 23 for each line of the playlist that you want to appear.

So a height of 472 will give you a control bar and 4 lines of the playlist.

you need to set displayheight less than height - the difference is then the playlist!

i think http:<strong>//</strong>gunav.co.il/f/playlist.xml would be better...

from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
showicons* (true,false): Show or hide the play and activity icons in the middle of the display. Defaults to true for the players and false for the rotator. If set to false, the overlaid controlbar will also hide with the players.

from the [url=http://www.jeroenwijering.com/extras/readme.html]readme[/url]:
a playlist should always reside on the same server as the SWF file, due to security restrictions of the Flash Player (there is a small workaround, tunneling the external feed through a serverside script. Here's an [url=http://www.jeroenwijering.com/extras/external_feed.zip]example in PHP[/url])

@andersen,

WOW you're fast! :)

Did you look at his page source? That's got to be a record for the smallest, shortest page source.

well sometimes too fast ;)

the showicons thing wont help for the true fullscreen -
but one can also do like this demo: [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/fullscreenfire.htm]fullscreenfire[/url] from the [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]demopage[/url]

U are both [not too..] fast! .
I did as u adviced, but still no luck. Now the player doesn't work at all.

i can't figure how to create a playlist :/
i tried all the rss and the other exemples and nothing.

Is there a simple way to just edit the locations in a prepared playlist xml file?

Many thanks again.

@Jack,

You have a space in your flashvars - BIG no-no.

list.xml &height

And you have the 'displayheight' and 'height' mixed up, just swap the values. 'displayheight' is the image/video window, 'height' is the total player height. The difference between them is the control bar and playlist items area.

You can use any text editor to edit the .xml file.

You are also missing this line, which has to be the first line in a playlist.

<?xml version="1.0" encoding="UTF-8"?>

Most of the playlist generators require tha use of a scripting language, such as PHP. If you don't have access to that, there are some Windows programs that will make a playlist. One is: MP3 Playlister, available from many sources. Google "MP3 Playlister"

Also, if i may advice, it would be wonderful to have an option to add the following 2 message in the code generator wizard;

1. A message on the end user player that if the video doesn't run smoothly, it's better to push play and Waite a while till video is load a couple of minutes.

2. A message that the download arrow won't work until the all video is played.

Ok.

I've added the line <?xml version="1.0" encoding="UTF-8"?>.
The displayhigeh is less the video height. and the circles run 4 ever...
So i guess that because i don't have some uncle who can play with php or scripts, the magic wont happen for me... (mp3 playlister wont help me because i need video at most)

Thanks for your Kind help and all the best!

Yayyyyyyyyyy. it's working.

@Jack,

It works fine for me. I can play all three videos. you might want to restart your browser to clear the cache.

There is a wishlist on the "Changes and addons" forum. You might want to put your wishes there.

Look here [url=http://www.xspf.org/applications/]XSPF org[/url] and you will find many applications to make XSPF playlists.

Dear @Will

May i ask 1 last Q?
is it possible to determine which file the player will start to play automatically? (when player is set to auto start).

Jack.

@Jack,

To pick the first file that plays, your choices are:
set shuffle=false
then the first file will always play first. :)

The other alternative is to create the player with a JavaScript function, then you have control of the player and the playlist through the JavaScript API. It may sound difficult, but it's not. I have posted complete, working HTML examples on these forums. You only have to copy/paste one of them, then adjust your flashvars (height, width, playlist, etc.) and you are in full control of the player.

andersen is the JavaScript expert here and he has many pages of demos here [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/]andersen's demo pages[/url].

Both of us will help you get a full working player running if you are willing to try.

BIG yes-yes. (Y).
You made 1 man (and all his humble video viewers) a v.v. happy man.

@Jack,

So then start with somethng like this [url=http://www.jeroenwijering.com/?thread=6313#msg28935]Simple JW Player[/url], adjust to your settings, then we'll help you add the Javascript API.

One step at a time works best. :)

Dear All,
this is my problem: I'm working with Image Rotator in drupal CMS and all is ok but I would like to insert an individual link for each image in swf_list so that during traslation you can click on it and go in a specific url.
Thi is the part of code
// array, by calling the SWF Tools helper function.
$playlist = swftools_prepare_playlist_data(
array('flathdtvm.jpg' , 'dbox_f1_0.jpg' , 'hdtv26.jpg',
'hdtv32.jpg', 'dbox2.jpg' , 'hdtv37.jpg', 'hdtv42.jpg'));
// Then pass this to swf_lis
print swf_list($playlist, "275x200",
array('frameColor' => '#FF0000','bgcolor' => '#123456'));

where I would like put the link for each jpg ....

Any suggestion ?

I see I'm going to have to zombie-out in order to find the solution to my problems with this player (that isn't simple-to-use at all). For the last 3 wks I've been trying to get this damn thing to work even half way. I'm not able to use JS because I'm on Windows Live Spaces which, as all know, limits code to the <embed> method. I KNOW that you have to have the SWF and XML files on the same server for the JW Media Player to work (as defined by the 'Read Me' files). But the documentation is unclear as to ALL the steps and provides no direct method for an alternative to js.
As of today (Aug 1, 2007), I've managed to actually get the player to display using this embed formula;

<embed type="application/x-shockwave-flash" width=968 height=432 src="http://www.hotlinkfiles.com/files/163416_nuj9k/mediaplayer.swf" flashvars="file=http://www.hotlinkfiles.com/files/171775_nzquw/playlist.xml&width=968&height=432&displaywidth=968&displayheight=389&showicons=true&backcolor=0xFFFFFF&repeat=list" pluginspage="http://www.macromedia.com/go/getflashplayer" allowscriptaccess=never allownetworking=internal>

This code is inserted in the Video Module on my Live Spaces blog
(http://tomknoyes.spaces.live.com), after a torturous amount of wasted time playing with all the variables over and over. The result being that while I have both player and playlist (that displays on the bottom of the player), when I click on either the bar with the video filename or the arrow icon in the middle of the screen, the initiated circle (indicating loading of the playlist)cycles for less than 30 seconds and then stops and reverts back to the arrow icon. This is my playlist structure;

<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">

<trackList>

<track>
<title>TKY E-Sheet</title>
<creator>Lee Davis</creator>
<location>http://www.hotlinkfiles.com/files/126706_qtcsf/TKY%20E-Sheet.wmv</location>
<meta rel="type">wmv</meta>
</track>
<track>
<title>Roswell Crash Parts</title>
<creator>U.S. Military</creator>
<location>http://www.hotlinkfiles.com/files/126754_itqrb/Roswell%20Crash%20Parts.mpg</location>
<meta rel="type">mpg</meta>
</track>
<track>
<title>Alien Child</title>
<creator>Japanews</creator>
<location>http://www.hotlinkfiles.com/files/126755_aetso/Alien%20child.mpeg</location>
<meta rel="type">mpeg</meta>
</track>
<track>
<title>Atomic Cannon Explosion</title>
<creator>U.S. Military</creator>
<location>http://www.hotlinkfiles.com/files/126818_tvfsw/Atomic%20Cannon%20Explosion.mpg</location>
<meta rel="type">mpg</meta>
</track>
<track>
<title>Vintage 60s Polaroid</title>
<creator>Polaroid</creator>
<location>http://www.hotlinkfiles.com/files/126890_mcvwd/Vintage%2060%27s%20Polaroid.mpeg</location>
<meta rel="type">mpeg</meta>
</track>
<track>
<title>Vintage 70s Frank Zappa</title>
<creator>Barking Pumpkin Records</creator>
<location>http://www.hotlinkfiles.com/files/126891_aix8l/Vintage%2070%27s%20Frank%20Zappa.mpg</location>
<meta rel="type">mpg</meta>
</track>
<track>
<title>Hiroshima Atomic Bomb Explosion</title>
<creator>U.S. Military</creator>
<location>http://www.hotlinkfiles.com/files/126885_74tk2/Hiroshima%20Atomic%20Bomb%20Explosion.mpg</location>
<meta rel="type">mpg</meta>
</track>
<track>
<title>Bugs Bunny & The Monkees</title>
<creator>Kool-Aid</creator>
<location>http://www.hotlinkfiles.com/files/126820_fvlp1/Bugs%20Bunny%20%26%20The%20Monkees.mpg</location>
</track>

</trackList>
</playlist>

The progressbar is a little out from the initial starting point (by the digits on the left-hand side of the player) and doesn't come back to the original starting point. What I'm trying to do with the player (which is one of the reasons why I picked it) is to have a "brandless" video viewing experience for visitors, while they browse the blog. As I'm hosting the SWF & XML at hotlinkfiles.com, there shouldn't be a problem with the player accessing the XML (since I can't upload files to the Windows Live Spaces). Could ANYONE tell me what I might be missing from this sketch of what I'm using, and what additional files might I need to use to make the player function?

You might need a video file converter to convert "wmv" and "mpg" to flash video "flv" 'cause that's all these players can play. Just sayin'. ;)

Also, the social networking site embed stuff mostly resides in the [url=http://www.jeroenwijering.com/?forum=MySpace_and_others]Myspace and others[/url] forum.

;)Thanks, Will! (FINALLY - an answer!!!) Sorry for the bit off-topic, but I was trying to make the scenario as clear as day so someone who knew what the deal was wouldn't have to post to ask me for specifics (as I see done here in the forum time and again). And no one had anything on Windows Live Spaces in that section either pertaining to the question. Again, Will, THANK YOU for that bit of help. The only reason I put the playlist in that format (leaving all videos in their original form) is that I see that it's how Jeroen did it in the example playlist given in the "Read Me" documentation - but I was thinking that the Media Player was different from the FLV Player (does it make a difference which one I use if they both can only play the .flv format?). I have Super (C) for encoding so I shouldn't have any problems with the conversion process.
Thanks again, I REALLY appreciate the help!

The mediaplayer, mp3player, and the flvplayer are EXACTLY the same file. See Jeroen's posts about why he maintains all 3 (google hits).

Your playlist is OK, except you only need the <meta rel="type"> when the file doesn't have a recognized media extension (flv or mp3).

I'm afraid you will see that most <embed> code support is in the MySpace forum. I only use the JavaScript code and strongly encourage others to use it. There may be other forums, on other sites, that have better support for MySpace. Same applies to CMSs, they are just too complex and too different from each other, for someone who doesn't use them to figure things out. I took a look at Mamba/Joomla a few years ago and decided that it wasn't worth the effort for what I wanted to do. The CMSs have their own support forums, which are specific to their code and programming languages. For instance, I use Gallery2 for photographs (10,000+) and family videos. I use programs like ffmpeg to encode and the JW Players to play. I would NEVER think of asking for help with Gallery2 issues on these forums. No one would know what I was talking about. I think the same applies to the social networking sites.

I am not sure if it is related. I found [url=http://home5.inet.tele.dk/nyboe/flash/mediaplayer/onlinemediaplayer.htm?]the online player[/url] is useful for checking file loading. That at least makes sure the files inside xml could be loaded correctly.

my problem is the fact the urls do not work in the playlist.xml file... I followed the documentation but it only advances the image rotator to the next image instead of a url in the same root directory...

Help!

************************* code *******************************************

<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>

<track>
<title>Health Matters</title>
<creator>Health Selectives</creator>
<location>images/topper.jpg</location>
<info>http://healthselectives.com/store/index.php</info>
<meta rel="type">jpg</meta>
</track>

<track>
<title>Health Matters</title>
<creator>Health Selectives</creator>
<location>images/topper4.jpg</location>
<info>http://healthselectives.com/store/index.php</info>
<meta rel="type">jpg</meta>
</track>

<track>
<title>Health Matters</title>
<creator>Health Selectives</creator>
<location>images/topper2.jpg</location>
<info>http://healthselectives.com/store/index.php</info>
<meta rel="type">jpg</meta>
</track>

<track>
<title>Health Matters</title>
<creator>Health Selectives</creator>
<location>images/topper3.jpg</location>
<info>http://healthselectives.com/store/index.php</info>
<meta rel="type">jpg</meta>
</track>

<track>
<title>Health Matters</title>
<creator>Health Selectives</creator>
<location>images/topper5.jpg</location>
<info>http://healthselectives.com/store/index.php</info>
<meta rel="type">jpg</meta>
</track>

<track>
<title>Health Matters</title>
<creator>Health Selectives</creator>
<location>images/topper6.jpg</location>
<info>http://healthselectives.com/store/index.php</info>
<meta rel="type">jpg</meta>
</track>

</trackList>
</playlist>

********************************* end code ******************************

And yes, tried both with www. and without.

Thanks in advance

Now having a friend build a rotator ad hoc with the images

if you had left this line at home, you wouldn't have broken your playlist:<meta rel="type">jpg</meta>only needed if there is not a recognized media type extension in the location element of the playlist

I am trying to run a playlist of mp4 files (h264 encoded video)
I have successfully played the videos through the media player when I set the file attribute to a direct link to a video file. So it's not the videos...

Why doesn't this playlist work ?
Yes the playlist is on the same server and served from the same domain as the swf file...
Yes the media to be played is referenced with HTTP://..
I also had a type="video/mp4" attribute in the <media:content tag> still no love !!!!

I have followed the RSS 2 example as given set the heights so I get the playlist displayed but clicking on an entry in the playlist causes nothing to happen.....

Here is the XML....

<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss">
<channel>
<title>Media How To</title>
<link>http://learningandteaching.unsw.du.au/content/creative/skills_dev.cfm</link>

<item>
<title>Upload media to UNSW YouTube eLearning channel</title>
<media:content url="http://mymedia-dl.edtec.unsw.edu.au/selfmanaged/pro_vice_edu/UNSWTVYouTube_elearning_upload_FL9_Widescreen_640x360_540kb.mp4" />
</item>

<item>
<title>Upload media to UNSW YouTube community channel</title>
<media:content url="http://mymedia-dl.edtec.unsw.edu.au/selfmanaged/pro_vice_edu/Youtubeuploadcommunity_640x360_540kb.mp4" />
</item>

<item>
<title>Make a Podcast video</title>
<media:content url="http://mymedia-dl.edtec.unsw.edu.au/selfmanaged/pro_vice_edu/QTProtom4v_640x360_540kb.mp4" />
</item>

<item>
<title>Make a Windows Streaming file with Quicktime Pro</title>
<media:content url="http://mymedia-dl.edtec.unsw.edu.au/selfmanaged/pro_vice_edu/QTprotoWMV_640x360_540kb.mp4" />
</item>

</channel>

</rss>

I await breathlessly and with great thanks in advance...
Gus

@Gus D - try type=flv (are you using the very latest player?)

Is the XML prolog important here ?

Thankyou that made it work for me with the type=flv attribute.. XML prolog doesn't appear to make any difference however I will leave it in so I feel all professional !!!

BTW Does Flash care about the file extension on video files.. So far I have served the same h264 vid to a flash device as .mp4,and as .mov would it care if that extension was .flv ?

(Why you may ask ? well a commercial host that I am using doesn't apper to have set up the appropriate mime type on the web server for .mp4 files and sends me an error, If I change the extension to .mov then hey presto video plays....)

Gus

@Gus D

so I feel all professional !!!

that is a very good reason ! :) (it is also the w3.org standard)
the video extension doesnt matter when you set the type=flv

Please help I know I'm not stupid. Similar issue, kinda.

I have gone through this site completely and I can't seem to get this to work right.
I'm doing the swf object thing with the js and xml using a playlist.
It all works on my local box. But not on my server.
Yes the mediaplayer, the js script, and the xml playlists are in the same uploaded folders.
The problems occur when I try to file div down a folder to get my flv files.
I've tried it using the js and the xml (xlm is preferred according to the site).
Here's my code can anyone tell me what could be wrong. The playlist seems to work ok it's the files it's calling.
I've also tried full http url's and the same thing.
Any help is appreciated.

///// EMBED CODE////
<script type="text/javascript" src="swfobject.js">
</script> <div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('mediaplayer.swf','mpl','470','450','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('height','450');
so.addVariable('width','470');
so.addVariable('file','worshipplaylist.xml');
so.addVariable('displayheight','255');
so.addVariable('thumbsinplaylist','false');
so.write('player');
</script>

//// XML CODE /////
<playlist version="1">

<title>Home Movies Play List</title>
<info></info>
<annotation>Just my home movies</annotation>

<trackList>
<track>
<title>Title Name 1</title>
<creator>1.22.2008</creator>
<location>\media_worship\video.flv</location>
</track>
<track>
<title>Title Name 2</title>
<creator>1.23.2008</creator>
<location>\media_worship\vide2o.flv</location>
</track>
</trackList>

</playlist>

Use full URIs for all files, guaranteed to work. Then you can play with relative/absolute paths.

And use forward slashes "/" in all paths.

<script type="text/javascript" src="<strong>http://my.domain.com/path/</strong>swfobject.js">
</script> <div id="player">This text will be replaced</div>
<script type="text/javascript">
var so = new SWFObject('<strong>http://my.domain.com/path/</strong>mediaplayer.swf','mpl','470','450','8');
so.addParam('allowscriptaccess','always');
so.addParam('allowfullscreen','true');
so.addVariable('height','450');
so.addVariable('width','470');
so.addVariable('file','<strong>http://my.domain.com/path/</strong>worshipplaylist.xml');
so.addVariable('displayheight','255');
so.addVariable('thumbsinplaylist','false');
so.write('player');
</script>

Use the proper headers in the XSPF playlist:

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Home Movies Play List</title>
<info></info>
<annotation>Just my home movies</annotation>
<trackList>
<track>
<title>Title Name 1</title>
<creator>1.22.2008</creator>
<location><strong>http://my.domain.com/path/</strong>/media_worship/video.flv</location>
</track>
<track>
<title>Title Name 2</title>
<creator>1.23.2008</creator>
<location><strong>http://my.domain.com/path/</strong>media_worship/vide2o.flv</location>
</track>
</trackList>
</playlist>

I did this relative paths and the correct xml header and It's still doing the same thing. Wheel spinning looking for file.
I'm totally lost on why this doesn't work.
Here's a link if it can help. http://www.fwclakeland.org/testsite/student_fuelhouse.html
Thanks.

The next step is to validate every one of those URIs by copying and pasting them in your browser.

http://www.fwclakeland.org/testsite/swfobject.js
http://www.fwclakeland.org/testsite/mediaplayer.swf
http://www.fwclakeland.org/testsite/youthplaylist.xml

Those are good, so let's move on to the URIs in your playlist:http://www.fwclakeland.org/testsite/videos/video.flvGuess what !?! I get a "404 Not Found" error from every one of them (there's only one, but you get the picture, don't you). Are you expecting the player to load and play a video file that is not accessible for whatever reason? Never gonna happen. Put a video file at that location or fix the link so it points to the video file, then your player will work.

Hi..
i tried to use the wizard to play an MP3 play list (xmp, xspf, m3u ... i tried all)
but i keep receiving a blank player or black with a loading icon.
i've made this play list out of some MP3's i added on my server as a trial to see how it will work .

this folder contains all the Data:
http://www.o7od.info/music%5FDB/

here is the code i used:

<embed
src="http://www.o7od.info/music_DB/mediaplayer.swf"
width="400"
height="400"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="height=400&width=400&file=http://www.o7od.info/music_DB/playlist.xml&displaywidth=140&searchbar=false"
/>

is there something wrong with the playlist?

ps
is there a way to make the track is downloadable?

THANKS

ahmad.

@Blank Player

the mediaplayer.swf file and the playlist must be on the same server ! (or you must place a crossdomain.xml with the playlist)

from the "Supported Playlists" page - http://www.jeroenwijering.com/?item=Supported_Playlists

a playlist should always reside on the same server as the SWF file, due to security restrictions of the Flash Player. This can be solved if you own the domain on which the mediafiles reside. You then have to put a crossdomain.xml file in the root webfolder of that server. In this file, you can specifically allow sites to load data. An example is the crossdomain file from Youtube. - http://youtube.com/crossdomain.xml

to download the files use the <info> tag of the playlist and/or the showdownload flashvar
please see the "Supported Flashvars" page - http://www.jeroenwijering.com/?item=Supported_Flashvars

Thanks fast andersen :)
but if you noticed , both SWF and XML are in the same server , even the same Folder...
http://www.o7od.info/music_DB/

or do i have to put them on the root ?

(i tried that as well!)

thanks

@Blank Player - sorry, you are right - i was too fast - the playlist format you use is simply not supported !

please see the "Supported Playlists" page - http://www.jeroenwijering.com/?item=Supported_Playlists

sir , i read all supported pages on your file before contacting you...
i read you support xspf , xml , m3u
and actually i tried them all , with no luck
noticed i loaded the same playlists using VLC or iTunes , and they worked...
is there something wrong with my server then?

thanks again

is there something wrong with my server then?

no - i dont think so - but you are using an itunes playlist - and an itunes playlist is not XSPF or RSS or ASX format !
please see the example playlists from the "Supported Playlists" page - they look entirely different:

http://www.jeroenwijering.com/?item=Supported_Playlists
http://www.jeroenwijering.com/upload/xspf_example.xml
http://www.jeroenwijering.com/upload/rss_example.xml
http://www.jeroenwijering.com/upload/asx_example.xml

please try an xspf playlist again (dont copy it from the browser - but save as a .xml file)

yes... i admit my play list format looks deferent!
maybe this is because of the xspf Generator i'm using?
http://playr.hubmed.org/

any suggestions about how to create a xspf file out of my online folder/page?
because it's a podcast updated daily ,, and i cant swallow the idea of writing my xspf manually...
thanks again.

p.s.
i saved my xspf as an xml file... but still no luck.

please see the chapter "Auto-generating playlists" -
on the "Supported Playlists" page - http://www.jeroenwijering.com/?item=Supported_Playlists

and this thread: "Read ITUNE standard xml playlist with Media Player" - http://www.jeroenwijering.com/?thread=8015

as well as these threads:
http://www.jeroenwijering.com/?thread=8879
http://www.jeroenwijering.com/?thread=4391
http://www.jeroenwijering.com/?thread=10310
http://www.jeroenwijering.com/?thread=9763

i'll study them harder...
thanks a lot.

Why i cant used the embedded??? it doesnt work for me when i copy paste it, the only one that works for me is tha javascript one, how can i make it to work

@Gabe - impossible to know without a link to your testpage...

I get the playlist to show but get no sounds

<embed
src="http://www.abelsong.com/modules/audio/mediaplayer-3-16/mediaplayer.swf"
width="400"
height="134"
allowscriptaccess="always"
allowfullscreen="true"
flashvars="height=134&width=400&file=http://www.abelsong.com/playlist?xspf&displaywidth=140&searchbar=false"/>

What am i doing wrong?

The playlist works fine in the xspf player.

@No sound

from the "Supported Flahvars" page - http://www.jeroenwijering.com/?item=Supported_Flashvars

Using the & = ? symbols
Note that you must urlencode the three glyphs ? = & inside flashvars, because of the way these flashvars are presented to the player. The urlencoded values for these symbols are listed here:

? → %3F
= → %3D
& → %26

So if your file to play is at the location getplaylist.php?id=123&type=flv, you must set the file flashvar to getplaylist.php%3Fid%3D123%26type%3Dflv.

Hi.
player = flv mediaplayer
from = ultrashock v2

published mediaplayer.fla in source folder.
1st error output = Error opening URL 'file:///HD/Users/computer/Desktop/mediaplayer%2D3%2D14/source/playlist.xml'

realized I had no playlist.xml included anywhere in the folders. Arrived here, pasted a playlist code from one example and created the playlist.xml file (in same folder as .fla). Published.
2nd error output = model: item: 1
model: item: 1
view: item: 1,undefined
view: item: 1,undefined
view: item: 1,undefined
model: item: 1
model: volume: 55
model: volume: 55
view: volume: 55,undefined
view: volume: 55,undefined
view: volume: 55,undefined
model: volume: 55
model: pause: 0
model: pause: 0
view: time: 0,0
view: time: 0,0
view: time: 0,0
view: state: 0,undefined
view: state: 0,undefined
view: state: 0,undefined
model: pause: 0

no idea how to resolve this, no mention of these errors on this page.
Can you help?

Hello can someone help me, please?

I will get the mp3 player with playlist.

in the example is a file called http://www.jeroenwijering.com/upload/statistics.xml.

i copied the file to my pc and i changed the links between <location>....</location>. but it didn´t work.

i need help, and sorry for my english, i´m from germany :)

Hi.

I've downloaded Imagerotator but playslist xml files don't work. Even madrid.xml (it comes with Imagerotator as a test xml) doesn't want to work. When I point to the picture (eg. madrid1.jpg) it comes up but one picture is not a slide show unfortunately.

Using Wizard:

source: http://av.fallibroome.cheshire.sch.uk/tim/imagerotator/imagerotator.swf

file: http://av.fallibroome.cheshire.sch.uk/tim/imagerotator/madrid.xml

Can you help me please?

Problem solved.

madrid.xml files didn't have the proper url, only madrid1.jpg, madrid2.jpg etc.
Changed them over to the proper url like "http://av.fallibroome.cheshire.sch.uk/tim/imagerotator/madrid1.jpg" and it started working.

Thanks anyway.

Hello,
My english is not as good so I use google translation.
I have a problem with my MP3 playlist, it is true that he has no title of a song.

An example: http://users.pandora.be/xera/lisa-bo/fragmenten.html

what should I do?
mail me info@vbdesign.be

please helpme, i have problem with my playlist.xml, and this is it:
- <playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Sample XSPF Playlist</title>
<info>http://www.jeroenwijering.com/?item=Flash_Media_Player</info>
- <trackList>
- <track>
<title>Accidente</title>
<location>http://familia/videos/accidente.flv</location>
<image>http://www.jeroenwijering.com/upload/windmillwarriors.jpg</image>
</track>
- <track>
<title>Nota Museo</title>
<location>http://familia/videos/NotaMuseo.flv</location>
<image>http://www.jeroenwijering.com/upload/windmillwarriors.jpg</image>
</track>
<track>
<title>Spot manos</title>
<location>http://familia/videos/Spot.flv</location>
<image>http://www.jeroenwijering.com/upload/windmillwarriors.jpg</image>
</track>
</trackList>
</playlist>
i need for 3 flv files in my intranet company, and them we buy a license for multi web.
please help me with the xml file.

@Alessandro,

No dashes and a proper XML header:

<?xml version='1.0' encoding='utf-8'?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
  <title>Sample XSPF Playlist</title> 
  <info>http://www.jeroenwijering.com/?item=Flash_Media_Player</info> 
  <trackList>
    <track>
      <title>Accidente</title> 
      <location>http://familia/videos/accidente.flv</location> 
      <image>http://www.jeroenwijering.com/upload/windmillwarriors.jpg</image> 
    </track>
    <track>
      <title>Nota Museo</title> 
      <location>http://familia/videos/NotaMuseo.flv</location> 
      <image>http://www.jeroenwijering.com/upload/windmillwarriors.jpg</image> 
    </track>
    <track>
      <title>Spot manos</title> 
      <location>http://familia/videos/Spot.flv</location> 
      <image>http://www.jeroenwijering.com/upload/windmillwarriors.jpg</image> 
    </track>
  </trackList>
</playlist>

@Bert,

Your question is answered in the other thread.

my xml and object:

<embed src="mp3player.swf" width="217" height="158" allowfullscreen="true" flashvars="file=http://users.pandora.be/xera/lisa-bo/mp3playlist.xml&height=380&width=520&autostart=false" />
  <?xml version="1.0" encoding="UTF-8" ?>
- <playlist version="1" xmlns="http://xspf.org/ns/0/">
- <trackList>
- <track>
  <title>Party samba de Brazil</title>
  <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  <info>lala</info>
  </track>
- <track>
  <title>Party samba de Brazil</title>
  <location>http://www.lisadelbo.be/liedjes/Party samba de Brasil.mp3</location>
  <info>bebe</info>
  </track>
  </trackList>
  </playlist>

@bert,

See the answers to your questions in this thread: http://www.jeroenwijering.com/?thread=10697

In the future, please don't cross post. Post your question in only one thread.

My mediaplayer with playlist in wizard doesn't work, I entered in "source" player link which I uploaded, and in "file" playlist in xml. When I click "update preview & code" the player is blank.Can someone help me?

hi, posted a few days ago, no reply, hope its ok to try again.Hi.
my player = flv mediaplayer
bought from = ultrashock v2

i published the mediaplayer.fla in source folder i received.
error output = Error opening URL 'file:///HD/Users/computer/Desktop/mediaplayer%2D3%2D14/source/playlist.xml'

i realized I had no playlist.xml included anywhere in the folders i was given. Arrived here, pasted a playlist code from one example and created the playlist.xml file (in same folder as .fla). Published.
new error output = model: item: 1
model: item: 1
view: item: 1,undefined
view: item: 1,undefined
view: item: 1,undefined
model: item: 1
model: volume: 55
model: volume: 55
view: volume: 55,undefined
view: volume: 55,undefined
view: volume: 55,undefined
model: volume: 55
model: pause: 0
model: pause: 0
view: time: 0,0
view: time: 0,0
view: time: 0,0
view: state: 0,undefined
view: state: 0,undefined
view: state: 0,undefined
model: pause: 0

no idea how to resolve this, no mention of these errors on this page.
Can you help?

My playlist only works if I open my player.swf in new window! When I turn off the site with player, player on my site doesn't work! Please help!

actually i've sorted mine. sorry,

My playlist works well, but as i use the WIZARD to make the code, i can only add 5 songs in the list.
When i add more, the others just don't play.
Can you help me?

and how to use the "identifier"?

@Skipper,

Post your playlist code (please use the code tags - "<>" below) or a link to your playlist so someone can help you.

Hi ,

MEDIA PLAYER WITH FALLBACK -- does anybody know if this option is still avaible?

Thanks.
Diana.

@diana - please dont crosspost...

I hold off doing anything about it until the situation permits.
http://www.google.com

Hi , Appologise, i will wait in the answer in my post. Appologise once again and thank you for the help . Appreciate it.

Regards,
Diana.

Hey, Im Erica.
I made a Playlist at Playlist.com and It won't work.
I keep trying but the big gap is there, But no playlist. And at the bottom it shows three little X's.

I have put a playlist on my myspace before and it worked and now it wont.

Here's the code.

<div class="ppl3260925456151324" style="text-align: center; margin-left: auto; visibility:visible; margin-right: auto; width:450px;"><embed style="width:435px; visibility:visible; height:270px;" allowScriptAccess="never" src="http://www.musicplaylist.net/mc/mp3player_new.swf?tomy=http://www.musicplaylist.net/mc/config/config_pink_shuffle.xml&mywidth=435&myheight=270&wid=ms&file=http://www.musicplaylist.net/loadplaylist.php?playlist=56151324" menu="false" quality="high" width="435" height="270" name="mp3player" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" border="0"/><BR><a href=http://www.musicplaylist.net><img src=http://www.musicplaylist.net/mc/images/create_pink.jpg border=0></a><a href=http://www.musicplaylist.net/standalone/56151324 target=_blank><img src=http://www.musicplaylist.net/mc/images/launch_pink.jpg border=0></a><a href=http://www.musicplaylist.net/download/56151324><img src=http://www.musicplaylist.net/mc/images/get_pink.jpg border=0></a> </div>

And, the Url.

http://www.playlist.com/generate_code?site=myspace

What am I doing wrong?
Well thats it.

Whenever you get this.
Get to Me:)
Peace.

hello, I am having a problem getting the video file to play. I am using Dreamweaver8 so aftyer i get everything set up and do a preview the player shows and everything looks ok but when i hit play it says it cant find the file here is the playlist code.

<?xml version="1.0" encoding="UTF-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>

<track>
<title>Grass</title>
<creator>ed</creator>
<location>video.flv</location>
<info>http://www.google.com</info>
<image>Images/film.gif</image>
<annotation>Nightly heart pounding paranoia - What was that in the grass?</annotation>
</track>

</trackList>
</playlist>

and here is the code in dreamweaver.

</head><script type='text/javascript' src='swfobject.js'></script><div id="player"> <script type="text/javascript" src=swfobject.js"></script>

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

<script type='text/javascript'>
var s1 = new SWFObject('player.swf','ply','640','260','9','#ffffff');
s1.addParam('allowfullscreen','true');
s1.addParam('allowscriptaccess','always');
s1.addParam('wmode','opaque');
s1.addParam('flashvars','&file=playlist.xml&playlist=right&playlistsize=280&streamer=lighttpd&fullscreen=true&backcolor=000000&frontcolor=ffffff');
s1.write('mediaspace');
</script>

<body>

What am i doing wrong?

It says video stream not found. man i have tried every file path i can think of.

@Ed,

Are you using a LightTPD server with the mod_flv_streaming module?

If not, remove this code from your flashvars:

&streamer=lighttpd

I said it before and I'll say it again, you are the man!

Thanks Dude.

hello i have problem in image rotator.
i have make playlist xml file. the playlist contain all the images from database.
gif and jpg works fine but when i insert any jpeg files than the image rotator not works

One more thing, how do you do a playlist with the scrollbar?

<div style="width:260px; height:200px; float:left;" id="container2"></div>
<script type="text/javascript" src="Rotate/swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("Rotate/imagerotator.swf","rotator","250","200","7");
s1.addParam("allowfullscreen","true");
s1.addParam("menu","false");
s1.addVariable("file","Rotate/image_list.php&shownavigation=false&rotatetime=10");
s1.addVariable("width","250");
s1.addVariable("height","200");
s1.addVariable('linkfromdisplay','true');
s1.addVariable('linktarget','window.location.href=""');
s1.write("container2");
</script>

image_list.php writes the following xml

<?xml version="1.0" encoding="utf-8"?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<trackList>
<track>
<location>http://www.astemarket.com/test/astemarket/admin/location_images/Wii.jpg </location>
<info>http://http://www.nintendo.it/NOE/it_IT/systems/wii_1069. </info>
</track>
<track>
<location>http://www.astemarket.com/test/astemarket/admin/location_images/advr_0341654001230809223.jpg </location>
<info>http://http://www.xbox.com/it-IT/hardware/compare101.htm </info>
</track>
<track>
<location>http://www.astemarket.com/test/astemarket/admin/location_images/advr_0281046001230815989.jpg </location>
<info>http://http://it.playstation.com/ps3/ </info>
</track>
</trackList>
</playlist>

Please could you help, I'm having difficulty playing video's from the playlist.The media player is displaying the xml playlist but when clicking on any itme within the playlist the player cannot locate the file.

Here is my embeded code.

<embed allowfullscreen="true" allowscriptaccess="always" flashvars="file=http://www.***.**/includes/mediaplayer/playlist.xml&playlist=bottom&
autostart=true" height="500" src="http://www.***.**/includes/mediaplayer/player.swf" width="400" />

Here is an example of the playlist

<?xml version='1.0' encoding='UTF-8'?>
<playlist version='1' xmlns='http://xspf.org/ns/0/'>
<trackList>
<track>
<title>Swine Flu Advert</title>
<image>rtmp://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>rtmp://172.*********/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/swine_flu_advert.flv</location>
<meta rel="type">flv</meta>
</track>
<track>
<title>What to do</title>
<image>http://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>http://172.*********/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/what_to_do.flv</location>
<meta rel="type">flv</meta>
</track>
<track>
<title>Wash your hands</title>
<image>http://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>http://172.*******:84/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/wash_your_hands.fl...</location>
<meta rel="type">flv</meta>
</track>
<track>
<title>Vaccination</title>
<image>http://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>http://172.*****:84/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/vaccination.flv</location>
<meta rel="type">flv</meta>
</track>
<track>
<title>Warning Signs</title>
<image>http://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>http://172.*********/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/warning_signs.flv</location>
<meta rel="type">flv</meta>
</track>
<track>
<title>Risk Groups</title>
<image>http://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>http://172.*********:84/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/risk_groups.flv</location>
<meta rel="type">flv</meta>
</track>
<track>
<title>Three Key Messages</title>
<image>http://www.srichinmoy.tv/images/tv/245-1.jpg/</image>
<location>http://172.*********:84/eng/Public_Information/Find_a_Service/Swine_Flu/test_advert/Three_Key_Messag...</location>
<meta rel="type">flv</meta>
</track>
</trackList>
</playlist>

Thanks in advance

Hi Malcolm,

Have you tried navigating to the URL for each video and checking to see if it's actually there?

Also, would it be possible to get the complete address for your web page so we can take a look?

Thanks.

Hi Cameron thanks for getting back to me, I have checked all url's and the Videos are there. I'm afraid the web address I am currently using is a test server and therefore is not visable to the public at the moment.

Another novice coder trying to get a playlist working. the player loads all right, but nothing plays. Current URL and code below... Worked fine when I had it pointing to a single mp3. I copied the code from the 'setting up a playlist' page in the tutorials section of this site. It is unclear which tags you need to modify to your own , but I changed them according to what it looks like others were having success with. Is there a tag you need to specify MP3, as opposed to image, or flv? Also not sure how the title/info/annotation stuff is going to display, so i left stuff in even if it seemed unnecessary.

Added this:
<?xml version='1.0' encoding='utf-8'?>
after reading this thread, but didn't change anything.

Any ideas?

the page in question:

http://www.jdkeith.com/index.php?/music/drums/

my embed code:

<embed src='http://jdkeith.com/mediaplayer/player-viral.swf' width='470'height='20' bgcolor='#ffffff' allowscriptaccess='always' allowfullscreen='true' flashvars='file=http://www.jdkeith.com/mediaplayer/DrumSongList.xml'/>

my xml code:

<?xml version='1.0' encoding='utf-8'?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<title>Example XSPF playlist for the JW Player</title>
<info>http://developer.longtailvideo.com/trac</info>
<tracklist>

<track>
<title>Sirens Of The Apocalypse</title>
<creator>Martin Bisi</creator>
<info>http://www.longtailvideo.com/</info>
<annotation>The first song that will appear in the playlist.</annotation>
<location>http://www.jdkeith.com/docs/music/Sirens_Of_The_Apocalypse.mp3</location>
</track>

<track>
<title>Agitated</title>
<creator>The Styrenes</creator>
<info>http://www.longtailvideo.com/</info>
<annotation>The second song that will appear in the playlist.</annotation>
<location>http://www.jdkeith.com/docs/music/Agitated.mp3</location>
</track>

<track>
<title>Transmogrify</title>
<creator>The Styrenes</creator>
<info>http://www.longtailvideo.com/</info>
<annotation>The third song that will appear in the playlist.</annotation>
<location>"http://www.jdkeith.com/docs/music/Transmogrify.mp3</location>
</track>

</tracklist>
</playlist>

Adobe Flash Player same domain security restrictions require that the movie (mediaplayer.swf or player.swf or imagerotator.swf) and all data files (playlist.xml, captions.xml, skin.swf, plugin, etc.) MUST come from the EXACT same domain unless you put a cross-domain policy file on the root of the server that is serving the data files.

Reference: http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_14213

Therefore, you must either:

1) serve the data file(s) (playlist.xml, captions.xml, skin.swf, plugin, etc.) from the same domain as the movie (mediaplayer.swf or player.swf or imagerotator.swf),

2) or serve the data files through a proxy at the same domain as the movie, so it appears that they both come from the same domain,

3) or place a cross-domain policy file on the root of the server that is hosting the data file(s).

Domains must be EXACTLY the same. "www.domain.com" and "domain.com" are not exactly the same.

not the EXACT same domain

http://jdkeith.com/mediaplayer/player-viral.swf
http://www.jdkeith.com/mediaplayer/DrumSongList.xml

add the www to the player URI

always use the www because your visitors will be coming from Google with www

that was promising- thanks trixie

i made that change to "http://www.jdkeith.com/etc" for both
player and playlist but it still doesn't play. the page loads, the player's there, and the status at the bottom of the browser says 'transferring data' and 'reading from...' for half a minute then 'done' and it still won't play.

double checked, the media files URLs are correct.

any other ideas?

unfortunately, you saved your playlist as a Word document which completely destroyed it

copy & paste this with a plain-text editor such as Notepad

!!! — IMPORTANT — !!!   Save the playlist as Unicode[/I][/B]

File, SaveAs, check the Save as Unicode checkbox

<?xml version="1.0" encoding="UTF-8"?>
<playlist xmlns="http://xspf.org/ns/0/" version="1">
  <title>Example XSPF playlist for the JW Player</title>
  <info>http://developer.longtailvideo.com/trac</info>
  <tracklist>
    <track>
      <title>Sirens Of The Apocalypse</title>
      <creator>Martin Bisi</creator>
      <info>http://www.longtailvideo.com/</info>
      <annotation>The first song that will appear in the playlist.</annotation>
      <location>http://www.jdkeith.com/docs/music/Sirens_Of_The_Apocalypse.mp3</location>
    </track>
    <track>
      <title>The Second Video</title>
      <creator>LongTail Video</creator>
      <info>http://www.longtailvideo.com/</info>
      <annotation>The second video that will appear in the playlist.</annotation>
      <location>http://developer.longtailvideo.com/files/secondvideo.flv</location>
    </track>
    <track>
      <title>The Third Video</title>
      <creator>LongTail Video</creator>
      <info>http://www.longtailvideo.com/</info>
      <annotation>The third video that will appear in the playlist.</annotation>
      <location>http://developer.longtailvideo.com/files/thirdvideo.flv</location>
    </track>
  </tracklist>
</playlist>

thanks again trixie!

i knew you shouldn't use word, but text edit messed me up anyway- for anyone else reading:

the mac os x text edit app saves in only 4 formats unless you convert the document to text in the format menu, so make sure to do that, and then save as txt w/out extention, then add .xml later

on to the problems of adding art and an underneath menu...

cheers

 
How about the Unicode?

The XML header element is specifying UTF-8, so the file really should be saved as Unicode/UTF-8, whatever your editor allows.

how can i retrieve my playlist from my myspace profile. It keeps saying error and it won't load.

Sorry, we do not support myspace profiles.