Oct. 28, 2009Rob
First, let me apologize, I am very new at this. I have been able to use the JW FLV player successfully on my site. I don't really know anything about xml, so I wanted to use the javascript playlist. I installed the 3 files the tutorial says to put on the server, and edited the script with the correct file locations and added those parts to my html, but when I bring up the page, all I see is the player, no playlist. I don't know if I'm missing something or what. Is there somewhere I should be entering the filenames, etc. of the flv files I want to show up in the playlist?
Here is the section of the html for the player and playlist:
<center>
<script type="text/javascript" src="http://www2.umaine.edu/MarchingBand/videos/2009/jquery.js"></script>
<script type="text/javascript" src="http://www2.umaine.edu/MarchingBand/videos/2009/jquery.playlist.js"></script>
<link rel="stylesheet" type="text/css" href="http://www2.umaine.edu/MarchingBand/videos/2009/playlist.css" />
<script type='text/javascript' src='http://www2.umaine.edu/MarchingBand/videos/2009/swfobject.js'></script>
<div id='mediaspace'>This text will be replaced</div>
<script type='text/javascript'>
var so = new SWFObject('http://www2.umaine.edu/MarchingBand/videos/2009/player-viral.swf','mpl','470','320','9');
so.addParam('allowfullscreen','true');
so.addParam('allowscriptaccess','always');
so.addParam('wmode','opaque');
so.addVariable('author','University of Maine Marching Band');
so.addVariable('title','UMaine Alumni Band Halftime Show');
so.write('mediaspace');
</script>
Thanks for any help.
Oct. 28, 2009hobbs
There's a working implementation here: http://willswonders.myip.org:8074/JavaScript%20Playlist.html
If you want the two files that I'm using, they are here:
http://willswonders.myip.org:8074/playlist.css
http://willswonders.myip.org:8074/jquery.playlist.js
Oct. 28, 2009Rob
Wow, that looks way different than using the script available in the tutorial. I notice in the source for the html page that it is calling on 'playlist_jwchapters.xml'. I don't know anything about xml, and I'm trying to find the easiest way to get a playlist going. If xml is the only way to add the files, I can try to put it together, but wondering if there is something easier.
Thanks.
Oct. 28, 2009Rob
Actually I just looked at an xml tutorial and it doesn't look too hard. I'm not really concerned with being able to stylize the playlist with css right now, so I can probably just use the playlist included with the player. Could you possibly post a portion of the xml document you use so I can get all the parts I should include?
Thanks again.
Oct. 28, 2009hobbs
My playlist file is here: http://willswonders.myip.org:8074/playlist_jwchapters.xml
See how it's just my domain plus the filename, just like the other files.
The full XML playlist documentation is here: http://developer.longtailvideo.com/trac/wiki/FlashFormats#XMLPlaylists
There are also some sample XML playllist files here: http://developer.longtailvideo.com/trac/browser/testing/files
A simple playlist example page is here: http://willswonders.myip.org:8074/Simple_Playlist.html
Disregard the commented out code, it's a Test Page.
If you get stuck, post a link to your Test Page so someone can help you further.
Oct. 28, 2009Rob
Thanks for the info. I actually found Charlie Craig's xml generator, so I have a playlist up, but its just showing the name of the file. Is there a way to add a description for each file in the playlist?
My testing page is http://www2.umaine.edu/MarchingBand/videostest2.php
Thanks again.
Oct. 29, 2009hobbs
I will have to find the VBS playlist generator. I am sure that I have added other elements to it.
Here are some helpful links to learn more about the JW Player™:
Earn money with ads from LongTail's AdSolution. Watch our demos and sign up now!
If you don’t buy a commercial license, you cannot use a JW Player™ on (i) a site that has ads; (ii) a corporate site; or a (iii) CMS. Our licenses are very inexpensive, so what are you waiting for? Buy a license today.