Login  |  Register
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome, Guest. Please login or register.
Did you miss your activation email?

August 19, 2022, 04:51:53 AM

Login with username, password and session length
Members
  • Total Members: 3843
  • Latest: Tricky
Stats
  • Total Posts: 193479
  • Total Topics: 21088
  • Online today: 51
  • Online ever: 1035
  • (November 26, 2020, 04:45:12 AM)
Users Online
Users: 0
Guests: 44
Total: 44

Author Topic: Radio Block  (Read 22307 times)

0 Members and 1 Guest are viewing this topic.

robert420

  • Guest
Radio Block
« on: December 14, 2005, 05:02:12 PM »
Code: [Select]
echo "<br>";
echo "<div align=\"center\">";
echo "<embed src=\"http://www.radiosurge.com/hot108.asx\" width=\"200\" height=\"42\"></embed>";
echo "<br>";
echo "<a href=\"http://hot108.com\">HotJamz 108</a></div>";
echo "<div align=\"center\">";
echo "<a href=\"http://super-forums.be\">108 Block By Robert420</a></div>";

Create a new block make sure you select phpbox

Preview http://super-forums.be

Tee

  • Guest
Re: Radio Block
« Reply #1 on: December 14, 2005, 05:14:06 PM »
very cool, can you make me one with a different station?

JayBachatero

  • Guest
Re: Radio Block
« Reply #2 on: December 14, 2005, 07:49:40 PM »
Yea you can.  All you have to do is change this
src=\"http://www.radiosurge.com/hot108.asx\"

Remember to keep the backslashes.

extacy

  • Guest
Re: Radio Block
« Reply #3 on: December 16, 2005, 12:45:35 AM »
Works great!!!!

Here's a list of internet radio feeds world wide.  Hope you don't mind me posting it. Might save someone the trouble.....

http://www.live-radio.net/info.shtml

However, would there be a way to have lets say 5 different generes of music to choose from. Maybe links and then the player comes up when a link is clicked.?. Just in case you have that Country Western fan (lol) lurking in the forum. Wouldn't want him to be blasted with Techno when he arrives at the forum and vise-versa.....

Also the player is by default "ON", is there a way to have one "off" until the user turns it on.   With this one, when you turn it off and click to the next page in the forum it cranks up again...... which could get on the user nerves a bit.

Just some thoughts...

I'm working on it, if I gain any ground, I will report back... :uglystupid2:

The Possibilities are endless with TinyPortal!!!!

Cheers!!!!   Great work!!!!


Offline Ray

  • Sr. Member
  • ****
  • Posts: 446
Re: Radio Block
« Reply #4 on: December 24, 2005, 02:57:29 PM »
trying one for country but I cant find a .asx file??

Fixed: Made my own ;D
« Last Edit: December 30, 2005, 02:28:03 AM by Ray »

Offline Ray

  • Sr. Member
  • ****
  • Posts: 446
Re: Radio Block
« Reply #5 on: December 30, 2005, 11:08:21 AM »
Been Playing with <embed a bit and got this working for me using a HTML box -- the player will only start when the button is pressed and will play random songs.

Code: [Select]
<EMBED SRC="http://www.rranderson.com/web_music3.asx"  HEIGHT="42" WIDTH="100%" AUTOSTART="FALSE">

timtimtim

  • Guest
Re: Radio Block
« Reply #6 on: December 31, 2005, 11:55:45 AM »
Can this be made to work with .pls too? (Winamp supporting)

rbh

  • Guest
Re: Radio Block
« Reply #7 on: January 02, 2006, 10:00:35 PM »
nice script! the only problem i have is that anytime a link is clicked it has to buffer again, so there isn't any scrolling through the forums while listening unless you don't mind it cutting out every time you click on posts, unless i dont have something setup correctly.

rbh

  • Guest
Re: Radio Block
« Reply #8 on: January 03, 2006, 07:23:39 AM »
anyway of getting this in a popup window maybe? that would solve the cutting in and out problem.

Offline IchBin

  • Friends
  • *
  • Posts: 16231
Re: Radio Block
« Reply #9 on: January 03, 2006, 08:17:07 AM »
Quick and dirty you could make an html page with the properties you want (as a pop-up) and then just add the embed code you were just given to it. Create a link to it in a block. Not exactly what you want, but I don't think it could work in TP like that unless Bloc hard coded it in.