Sample code for using the Flash player:
<embed src="http://webjay.org/flash/xspf_player?autoload=1&autoplay=1&playlist_url=http://webjay.org/by/lucas_gonze/punk.xspf" quality="high" bgcolor="e6e6e6" width="400" height="170" name="xspf_player" align="middle" type="application/x-shockwave-flash" />
To modify that for your own site, replace the playlist_url parameter with the URL of a playlist of your own.
The width and height do not have to be any particular values. The player will adapt its layout to best suit whatever size you give it.
Object / Embed syntax Edit
Good HTML for embedding a Flash player is a controversial subject. The embed syntax given above is simple but unreliable and not standards-compliant.
Suggestions and documentation on how to improve the given HTML are welcome.
<embed src="http://l.yimg.com/us.yimg.com/i/mig/playlistbadge/25.swf" width="400" height="250" wmode="transparent" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" flashvars="playlist_url=" />
The Flash player was built by William White and Joseph Magnani of the Yahoo! Media Innovation Group.
It was first made available on Yahoo's Webjay acquisition, which is why its URL is on webjay.org. A portion of the player is derived from Yahoo's integration of the Webjay "Playthispage" feature, which screen-scraped playlists, feed or web pages and converted them into XSPF.
This player was then released as a part of the Musicblogs Facebook Application.
The player was announced as an independent product on next.yahoo.net under the name "EasyListener."