roncli.com blog
The blog of roncli
roncli.com blog
roncli.com
blog
Profile
roncli
Houston, Texas, United States
Labels
Coding
CTG Music
Editorials
Games
Miscellaneous
Music
Servers
Silliness
Software
Sports
Trax in Space Beta
Weather
Recent Posts
Sigh of Excitement at the Novus Compo
Vacation Roundup
Lesser Computers
Eleven Hours Later...
Shuffle Off To Buffalo
Databinding to a XAML FlowDocument
Sigh of Excitement
Programming is fun again
More XAML fun
The Nightstalker on Inner Space/KFOS
Friday, January 11, 2008
Trax in Space playlists
Posted: 10:35:00 AM 0 comments
I figured out how to take TiS's playlist control and use it on your own webpages.

First of all, you need to know the playlist ID of the playlist you wish to use. Just open the playlist and look at the URL:

http://www.traxinspace.com/playlist/?t=view&i=321

See that number in bold? That's going to be your playlist ID.

Next, get out notepad, and plug the following into it:

<object type="application/x-shockwave-flash" width="450" height="150" data="http://www.traxinspace.com/player/xspf_player.swf?repeat_playlist=true&playlist_url=http://www.traxinspace.com/pl/321">
<param name="quality" value="high" />
<param name="bgcolor" value="#e6e6e6" />
<param name="movie" value="http://www.traxinspace.com/player/xspf_player.swf?repeat_playlist=true&playlist_url=http://www.traxinspace.com/pl/321" />
<embed src="http://www.traxinspace.com/player/xspf_player.swf?repeat_playlist=true&playlist_url=http://www.traxinspace.com/pl/321" quality="high" bgcolor="#e6e6e6" width="450" height="150" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
</object>

Of course, you should replace the number 321 with your playlist ID in the three places it appears above.

That's it. Put that script into any HTML and you got a TiS playlist. You can now post your playlist anywhere you can put HTML.

Labels:




0 Comments

Post a Comment