« Back to jordanbalagot.com
Syndicated floating flash music player available

Posted on Thursday 19 March 2009

I’m going to be including the floating flash player with my music on some other sites I’ve made. If you’re interested, here is code that you can paste in that will display the floating flash player on your site and remotely fetch the most recent music from my site:

<script type=”text/javascript” src=”http://jordanbalagot.com/float.js”></script>
<script>
if (NS4) {document.write(‘<LAYER NAME=”floatlayer” LEFT=”‘+floatX+'” TOP=”‘+floatY+’ Z-INDEX=2″>’);}
if ((IE4) || (NS6)) {document.write(‘<div id=”floatlayer” style=”position:absolute; left:’+floatX+’; top:’+floatY+’; z-index:2″>’);}
</script type=”text/javascript”>
<object type=”application/x-shockwave-flash” width=”300″ height=”153″ data=”http://jordanbalagot.com/xspf_player.swf?playlist_url=http://jordanbalagot.com/jbplaylist.xml”>
<param name=”movie” value=”http://jordanbalagot.com/xspf_player.swf?playlist_url=http://jordanbalagot.com/jbplaylist.xml” />
</object><br/>
<div align=”center”><font size=”1″>Music from <a href=”http://jordanbalagot.com” target=”_blank”>jordanbalagot.com</a></font></div>
<script type=”text/javascript”>
if (NS4){document.write(‘</LAYER>’);}
if ((IE4) || (NS6)){document.write(‘</DIV>’);}
ifloatX=floatX;ifloatY=floatY;define();window.onresize=define;lastX=-1;lastY=-1;adjust();
</script>

If you want the music to start automatically call this swf instead:
http://jordanbalagot.com/xspf_player.swf?playlist_url=http://jordanbalagot.com/jbplaylist.xm&autoplay=true
Sometime in the future I’ll make a separate playlist that only has more web-suited background music.


No comments have been added to this post yet.

Leave a comment

(required)

(required)


Information for comment users
Line and paragraph breaks are implemented automatically. Your e-mail address is never displayed. Please consider what you're posting.

Use the buttons below to customise your comment.


RSS feed for comments on this post | TrackBack URI