I am new to the world of flv players so my mistakes may be glaring to the most of you. I have embedded several flv players all over my website but have an area where using the right side list makes most sense. The link to the page is
http://www.apollodesign.net/Howtovideos/default.aspx
My code so far is:
<script type="text/javascript" src="/App_Support/JScripts/swfobject.js"></script>
<div id="preview">this will be replaced by the SWF.</div>
<script type="text/javascript">
var s1 = new SWFObject("/App_Support/Common/FlvPlayer.swf","player","640","260","9","#ffffff");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("wmode","opaque");
s1.addParam("flashvars", "file=/App_Data/Xml/Site/HowToVideoPlaylist.xml&playlist=right&playlistsize=280&streamer=lighttpd&fullscreen=true&backcolor=000000&frontcolor=ffffff");
s1.write("preview");
</script>
my XML so far is:
<?xml version="1.0" encoding="utf-8" ?>
<playlist version="1" xmlns="http://xspf.org/ns/0/">
<tracklist>
<track>
<title>Installing a scroller gel string</title>
<creator>Apollo Design Technology</creator>
<meta rel="type">flv</meta>
<location>http://www.apollodesign.net/HowToVideos/Collaterals/Video/12_Installing_a_scroller_gel_string.flv</location>
<image>http://www.apollodesign.net/HowToVideos/Collaterals/Images/ChangeGelString.jpg</image>
<annotation>Step by step instructions on replacing the gel string in an Apollo Smart Color scroller. </annotation>
<info>http://www.apollodesign.net/</info>
</track>
<track>
<title>Mounting a light fixture on the Right Arm</title>
<creator>Apollo Design Technology</creator>
<meta rel="type">flv</meta>
<location>http://www.apollodesign.net/HowToVideos/Collaterals/Video/15_Mounting_a_Right_Arm_on_Pipe_Truss.flv</location>
<image>http://www.apollodesign.net/HowToVideos/Collaterals/Images/MountRightArm.jpg</image>
<annotation>Step by step instructions for securely attaching a light fixture to an Apollo Right Arm for maximum results.</annotation>
<info>http://www.apollodesign.net/</info>
</track>
</tracklist>
</playlist>
I have read the forums and tutorials and have made a lot changes above thanks to the help but cannot get this to work any help would be greatly appreciated.
The correct type flashvar value for FLV video is video.
Please review the supported types here: http://code.longtailvideo.com/trac/wiki/FlashVars#Fileproperties
The trackList tag must be spelled with an uppercase "L".
Reference: http://xspf.org/xspf-v1.html#rfc.section.1.1
The creator element won't show up in the playlist in the current players.
The link in the info element is only useful if you set the flashvars displayclick and linktarget to somethng meaningful.
Reference: http://code.longtailvideo.com/trac/wiki/FlashVars#Playback and http://code.longtailvideo.com/trac/wiki/FlashVars#External