
This auto-embed script is a new feature I'm trying out.
Currently only the barest of embed variables are available but the script will generate a complete standalone html web page complete with http1.0 transitioanl DTD, head, body, embed, footer and closing tags.
Player.php is an auto player embed script. Similar to embed.php in other packages, this script is specifically for the JW player included in the XSPFPHP package. The intent is to reference a copy of player.php in a web page somewhere in cyberspace, then alter it's contents and appearance without having to edit the page itself. Rather you edit the player.ini file containing all player variables & embed options. The player below is generated this way. Upcoming version may include autogeneration of a player.xml file to go along with the script.Player Features:
This script can also be used to generate the embed code for placement on any html web page. Simply edit player.ini until the player looks correct, then use your browser "View -> source" command to copy and paste the code for embedding. All code is fully qualified so it will work anywhere on the web it's allowed. Note that myspace will not allow SWF embedding. You can either use emb or obj, disable html header, body and footer tags and copy / paste the embed code to your myspace page.
The sampe below uses a simple iframe to run player.php and embed the player in an html page. The code I used to embed this player is:
<div align="center"> <iframeframeborder="1" width="620" height="320" src="/xspf/music/player.php"></iframe></div>
If this is a feature you would like to see developed more, send feedback to siggma [at] trbailey.net