; This is a sample configuration file for player.php Distrubuted as part of xspfphp ; ; THIS FILE HAS BEEN EDITED TO SUITE MY WHIMS, RUN PLAYER.PHP IN THIS DIRECTORY IT TO SEE THE OUTPUT. ; ;project Home page: http://sourceforge.net/projects/xspfphp/ ; Comments start with ';' ; The [player] settings are almost word for word from the JW Flashvars page ; http://developer.longtailvideo.com/trac/wiki/FlashVars ; ; Generally speaking if there are quotes around an item, leave them in place ; If an item does not work, try using quotes around it. PHP interprets false as 0 and "false" as a string ; This ini file is parsed using php function iniparse(). See PHP for specifics if you have questions on how it's interpreted ; ; A few hints: ; You can include an info and link element in a playlist and prevent it from working using obj or emb below ; ; If you are confused; ; This script executes on the SERVER, not in or on the page in which it's embedded. ; therefore you'll only see a reference to the code in the target page. ; usually iframe src=...player.php etc... ; or object id="an id" data="http://...player.php" type=text/html etc... ; [HTML] ; These settings control html headers inserted above the embed code if header is true. ; Header true assumes a full html page wrapper XSPFPHP AutoPlayer Script

With Headers

" ; This variable contains any HTML to be placed AFTER the player embed code. ftext = "

XSPFPHP@sourceforge.net a free playlist generator and player embedding script
This footer is useful for adding java or other script after player embed script
See Readme.html player.ini and JW FlashVars

" ; Includes a W3C XHTML Validator button at the bottom of the page ; when header is true to help you validate the htext and ftext values. validxhtml = "true" ; Type of embed, can be swf, obj or emb. Use lowercase. embed = swf [player] ; These first three variables control the player and playlist urls ; ; To specify custom url's: ; 1. Set local to 0 or false ; 2. Set path = "URL to your player, MINUS player.swf", EX: "http://domain.com/player/" for http://domain.com/player/player.swf ; 3. Set list = "FUll url to your playlist ; local = 1 ; true (1) is the default, no quotes here. path = "http://www.domain.com/playerdirectory/" ;should point to a directory containing player.swf list = "xspf.php" ; should contain your FULL playlist url, EX: http://mydomain.com/playlistdirectory/xspf.php ; These first two variables are passed to both the player and the object wrapper width = "600" height = "300" playwidth = "340" ; These control the playlist and control bar playlist = "right" ; playlist values can be right, bottom, over or none bar = "bottom" ; control bar position can be bottom, over, or none ; This is the value of bgcolor in the embed block background = "#cccccc" ; can be an html color or "transparent" ; These control the player background and player colors ; They are funky here so you'll change them I'm sure. backcolor = ;"#cccccc" frontcolor = ;"#000000" lightcolor = ;"#000000" screencolor = ;"#cccaca" ; name of player skin. Skin files are in: xspfphpinstall/player/ named skin.swf. ; Download zip archive of common skins here: skin = "traganja.swf" ; These are self explanatory. ; See http://developer.longtailvideo.com/trac/wiki/FlashVars volume = "10" autostart = ;"true" fullscreen = "false" icons = "false" ;disable play and buffering icon item = ;"8" ;playlist item to play on autostart targetlink = ;"_parent" ;I have no idea what this is, probably the page target to use when clicking the info link ; This is an optional logo URI logo = ;"http://www.trbailey.net/xspf/valid-xspf.png" mute = "false" ;seems like nonsense for an audio player but its here quality = "true" repeat = "list" ; list, always, single resizing = ;"false" shuffle = ;false" stretching = ;"none" displayclick = "play" [plugins] Not currently implemented unless I get feedback asking for it ;this is a comma-separated list of swf plugins to load (e.g. yousearch,viral). ;Each plugin has a unique ID and resides at plugins.longtailvideo.com. Go to the LongTailVideo AddOns section to see all available plugins. plugins = longtail plugin list