TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

April 25, 2024, 02:06:35 AM

Login with username, password and session length
Members
  • Total Members: 3,885
  • Latest: Growner
Stats
  • Total Posts: 195,173
  • Total Topics: 21,219
  • Online today: 46
  • Online ever: 3,540 (September 03, 2022, 01:38:54 AM)
Users Online
  • Users: 0
  • Guests: 69
  • Total: 69

Radio Block

Started by robert420, December 15, 2005, 12:02:12 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

robert420

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

very cool, can you make me one with a different station?

JayBachatero

Yea you can.  All you have to do is change this
src=\"http://www.radiosurge.com/hot108.asx\"

Remember to keep the backslashes.

extacy

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!!!!


Ray

#4
trying one for country but I cant find a .asx file??

Fixed: Made my own ;D

Ray

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.

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

timtimtim

Can this be made to work with .pls too? (Winamp supporting)

rbh

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

anyway of getting this in a popup window maybe? that would solve the cutting in and out problem.

IchBin

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.