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

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,963
  • Latest: BiZaJe
Stats
  • Total Posts: 195,917
  • Total Topics: 21,308
  • Online today: 629
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 487
  • Total: 487

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.

rbh

thanks ichbin, i will play around with this later on as i get a little better with coding. i don't think i am quite ready to attempt your idea just yet. ??? ;) i will keep an eye on the developement of this code because i really like it.

rbh

#11
IchBin.....what can i say, you are a genius. well, you and the others who posted with things they have done with this script, extacy, and ray. i created a block with links labeled with the different styles of music, then built html/javascript popup pages for each one with the radio feeds in them, THANK YOU GOOGLE ;D , and then uploaded those html files to my server and now you just click what you want to hear and a little popup box opens with the radio buttons and loads the station so the radio plays constantly as you go through the forum or elsewhere on the net. i may sound like a kid on christmas, but for me to do this is nothing short of a miracle as i have only been using javascripts, html, and basically anything else to do with web building, for only about a month or less. i am now working on making just one popup with each style of music linked seperately within that popup so they can change if they want without coming back to the mainpage.

thank you very much!

IchBin

Awesome! Glad I could put in all that hard work. :P

Ray

that is great rbh -- can not wait to see what you come up with -- I am playing with it also , so if i get more i will post it

elpvn

#14
You can add a radio online block by add this code to a Scriptblock or HTMLblock in TP settings:

<center><object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6" id="WindowsMediaPlayer1" width="160" height="63"></center>
Ã,  Ã,  Ã,  Ã,  <param name="URL" value="YOUR RADIO (OR SONG) URL">
Ã,  Ã,  Ã,  Ã,  <param name="rate" value="1">
Ã,  Ã,  Ã,  Ã,  <param name="balance" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="currentPosition" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="defaultFrame" value>
Ã,  Ã,  Ã,  Ã,  <param name="playCount" value="1">
Ã,  Ã,  Ã,  Ã,  <param name="autoStart" value="-1">
Ã,  Ã,  Ã,  Ã,  <param name="currentMarker" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="invokeURLs" value="-1">
Ã,  Ã,  Ã,  Ã,  <param name="baseURL" value>
Ã,  Ã,  Ã,  Ã,  <param name="volume" value="80">
Ã,  Ã,  Ã,  Ã,  <param name="mute" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="uiMode" value="full">
Ã,  Ã,  Ã,  Ã,  <param name="stretchToFit" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="windowlessVideo" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="enabled" value="-1">
Ã,  Ã,  Ã,  Ã,  <param name="enableContextMenu" value="-1">
Ã,  Ã,  Ã,  Ã,  <param name="fullScreen" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="SAMIStyle" value>
Ã,  Ã,  Ã,  Ã,  <param name="SAMILang" value>
Ã,  Ã,  Ã,  Ã,  <param name="SAMIFilename" value>
Ã,  Ã,  Ã,  Ã,  <param name="captioningID" value>
Ã,  Ã,  Ã,  Ã,  <param name="enableErrorDialogs" value="0">
Ã,  Ã,  Ã,  Ã,  <param name="_cx" value="8202">
Ã,  Ã,  Ã,  Ã,  <param name="_cy" value="8202">
Ã,  Ã,  Ã,  </object></center>


And result will as:


extacy

#15
Thanks Guys!!

Hey rbh,
Let us know what you come up with... I havent had much time to play with it, but hope to be back at it soon..

Thanks!!!


edit:

found it!

Works Great w/ ff,ie!!!!!!!!

Xarcell

elpvn, I haven't tried, but I think that script only works for IE. You need embed src to show for FF as well.

Lord Anubis

Here's what I am using as a center block in my chatroom...
It works with IE and Firefox

<OBJECT id='mediaPlayer' width="728" height="63"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/controls/ mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
standby='Loading Microsoft Windows Media Player componentsââ,¬Â¦' type='application/x-oleobject'>
<param name='fileName' value="http://a968.l2001942559.c20019.g.lm.akamaistream.net/D/968/20019/v0001/reflector:42559">
        <param name="rate" value="1">
        <param name="balance" value="0">
        <param name="currentPosition" value="0">
        <param name="defaultFrame" value>
        <param name="playCount" value="1">
        <param name="autoStart" value="-1">
        <param name="currentMarker" value="0">
        <param name="invokeURLs" value="-1">
        <param name="baseURL" value>
        <param name="volume" value="80">
        <param name="mute" value="0">
        <param name="uiMode" value="full">
        <param name="stretchToFit" value="0">
        <param name="windowlessVideo" value="0">
        <param name="enabled" value="-1">
        <param name="enableContextMenu" value="-1">
        <param name="fullScreen" value="0">
        <param name="SAMIStyle" value>
        <param name="SAMILang" value>
        <param name="SAMIFilename" value>
        <param name="captioningID" value>
        <param name="enableErrorDialogs" value="0">
        <param name="_cx" value="8202">
        <param name="_cy" value="8202">
<EMBED type='application/x-mplayer2'
pluginspage='http://microsoft.com/windows/mediaplayer/ en/download/'
id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='0'
bgcolor='darkblue' showcontrols='1' showtracker='1'
showdisplay='1' showstatusbar='1' videoborder3d='0' width="728" height="63"
src="http://a968.l2001942559.c20019.g.lm.akamaistream.net/D/968/20019/v0001/reflector:42559" autostart='1' designtimesp='5311' loop='0'>
</EMBED>
</OBJECT>


To change the channel change
http://a968.l2001942559.c20019.g.lm.akamaistream.net/D/968/20019/v0001/reflector:42559
to whatever stream you want...

akulion

ah the old days before they invented TV :D lol

double_d

how can you have multiple channels
with a choice say between 3

daniel d

This website is proudly hosted on Crocweb Cloud Website Hosting.