TinyPortal

Development => Block Codes => Topic started by: misfitmafia on August 05, 2007, 02:30:01 AM

Title: Music/Radio Player Block
Post by: misfitmafia on August 05, 2007, 02:30:01 AM
I run a site called sourcetunes.com and we provide 14 channels of steaming music for gaming servers. We had a great demand from our users to build a player they could use on there websites as well as there gaming servers.

Using some java script we produced a music player that can easily be placed into a block. The music player or better named music selector provides 14 different channels to choose from in a drop down menu. Once a channel is selected a small pop-up player is loaded with the selected channel. The reason we use a pop-up player is to enable visitors to navigate though your site without having to reload the player each page.

Here is the code to place into a scriptbox. To see it in action visit our site, www.sourcetunes.com, its on the right.

Quote<script src="http://www.sourcetunes.com/music/player/site_player.js"></script>

Please E-mail me at support@sourcetunes.com for updated link, include the URL you will be using it on as well, I will replay with the new script location.

On our site you can also find a downloadable IE/Firefox toolbar that also has a built in music player with all 14 channels, it allows you to listen to music no matter what site you are visiting.

Admin
www.sourcetunes.com
Title: Re: Music/Radio Player Block
Post by: jdvarner on August 05, 2007, 03:21:31 AM
nice misfitmafia.

can i get the player smaller in size? in left or right block it drastically changes the spacing. just a notch would do it?

jd
Title: Re: Music/Radio Player Block
Post by: superQ on August 05, 2007, 10:28:34 PM
This look good. :up: I saw one a while back on someones site and it too, opened up the player in a new window. Is it possible to just hear the music or is it always mandatory that the player/any player open up and some action need be taken. I also read the block where it describes the player, but fail to see where the minimize button is on the player.

This is not a huge pain in the arse,more like a question.

Thanks....
Title: Re: Music/Radio Player Block
Post by: cazador on August 05, 2007, 10:53:09 PM
now playing in my new forum
realy good !

http://latinmula.webniverso.com
Title: Re: Music/Radio Player Block
Post by: misfitmafia on August 06, 2007, 05:00:54 PM
Quotecan i get the player smaller in size? in left or right block it drastically changes the spacing. just a notch would do it?

Glad you all like the player, I am working on getting the width of the player a bit smaller, what I want to do is have the table that makes up the player autosize to the available width, I know how to do this but have not had time to make it up and test it.

QuoteIs it possible to just hear the music or is it always mandatory that the player/any player open up and some action need be taken.

Unfortunately it is necessary to have a pop-up window, The Media Players needs a page to load into and if that page is the same page you are viewing it would not reload when you navigated though the site.

Title: Re: Music/Radio Player Block
Post by: khaen on August 09, 2007, 06:51:39 AM
Excellent job on this and thank you for letting us use it. 

None of the channels worked the first day, then all of a sudden it was up and running the next day.  It was worth the wait.

Thanks again.


http://covenantofthephoenix.com/forums/index.php (http://covenantofthephoenix.com/forums/index.php)
Title: Re: Music/Radio Player Block
Post by: Kromel on September 08, 2007, 07:53:38 PM
Very nice! I've been looking for a player like this for some time now.

I am wondering if there is a way to set the channel automaticly to one appropriate to the forum theme? Is there a way to have it just load up when entering the forum? I'm guessing with this set up it wouldnt be necessary to have the player in a Block, but might be nice to have it there in case the listener does want to change it themselves.
Title: Re: Music/Radio Player Block
Post by: jlilly on September 08, 2007, 10:31:14 PM
I likey.  Thanks, works great on my site!

http://www.bhclangaming.com
Title: Re: Music/Radio Player Block
Post by: misfitmafia on September 14, 2007, 04:17:01 PM
Just wanted to announce we will soon have a couple of options as far as size and color for the music player, if you want to make some suggestions feel free to replay, Size in pixels and different color combinations, thanks for the support.
Title: Re: Music/Radio Player Block
Post by: Zetan on September 14, 2007, 04:41:09 PM
Well.. I've looked at your player and it looks really smart, I was going to attempt to do my own.
I don't really have time to do it from scratch and I'm not about to start stealing other peoples code.

If you are interested in making us something similar incorporating, Stream Status indicator, Now Playing widget and the WMP player, I would be willing to pay for the effort. You can see ours on our homepage.


Z
Title: Re: Music/Radio Player Block
Post by: blue-c on September 15, 2007, 04:08:55 PM
Quote from: misfitmafia on September 14, 2007, 04:17:01 PM
Just wanted to announce we will soon have a couple of options as far as size and color for the music player, if you want to make some suggestions feel free to replay, Size in pixels and different color combinations, thanks for the support.
awesome - have been waiting for this, would it be possible to have the colour match the default theme or a shade of blue, also I would prefer it in a side block which I have set at 160 px, so any adjustments near that would be great
Title: Re: Music/Radio Player Block
Post by: jdvarner on October 14, 2007, 04:42:32 AM
so what happened to the feed?

i noticed the block dont work now?
Title: Re: Music/Radio Player Block
Post by: misfitmafia on October 17, 2007, 06:08:41 PM
The location of the script has been moved due to its use on sites that are adult themed. We cannot allow the use of our player on sites that promote immoral activities. If you would like to continue using the script please e-mail me at support@sourcetunes.com, please include the URL of the site you will be using the player on and I will reply with the new script location, sorry for the inconvenience.

Block has also been updated to 150px wide :)