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

Recent

Welcome to TinyPortal. Please login or sign up.

April 17, 2024, 01:16:34 AM

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

Streaming Music Player

Started by crip, February 01, 2006, 09:09:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

crip

This is the same popup Streaming Radio Player that was introduced on an earlier Thread here. 

I just added a little difference's to it, instead of having a Classic-Rock link, Country link, R&B link, or what ever et-ceteras..I've added them all in one (1) popup box with a drop down menu:
  • ClasiscRock
  • Country
  • R&B
  • Whatever else, as many as desired.

    Then just name it: (my is streaming.htm) - put it in your Forum /* Directory /* - go to your scriptbox and add whats below..and there you go. ;) 
    Any help needed just holler at me.

    Demonstration

    Later, crip~ 8)
    Part-1
    Quote
      <script type="text/javascript">
          function geefwaarde()
          {
                var Naam

                Naam = window.document.SoundPlayer.crip.value;       

                if (Naam=="wzzk_fm") {window.document.SoundPlayer.Radio.filename="http://www.streamaudio.com/stations/asx/WZZK_FM.asx";}
                if (Naam=="listen") {window.document.SoundPlayer.Radio.filename="http://80sgrooves.com/listen.asx";}
                if (Naam=="kcfx_fm") {window.document.SoundPlayer.Radio.filename="http://www.streamaudio.com/stations/asx/KCFX_FM.asx";}
                         
           }

    </script>
    Part-2
    Quote
    <form Name="SoundPlayer" action="">

       <object id="MediaPlayer"
                   width=125
                   height=70
                   standby="Music Player"
                   type="application/x-oleobject">

         <embed type="application/x-mplayer2" Name="Radio"
              autostart=1
              width=125 height=70
              transparentatstart=0
              animationatstart=0
              showcontrols=1
              showstatusbar=1
              autosize=1
              displaysize=0
              audiostream=1>
        </embed>

       </OBJECT>
       

       <object id="RadioStations">
      <select Name="crip" onChange="geefwaarde()">
            <option value="wzzk_fm" style="background-color:#0000FF;">(Raido Stations)</option>
            <option value="wzzk_fm" style="background-color:#FFF000;">Kuntry</option>
            <option value="listen" style="background-color:#0284B5;">80s-Groove</option>
            <option value="kcfx_fm" style="background-color:#8080C0;">Classic-Rock</option>
      </select>
       </object>
    </form>

    Now Enjoy the music you like without any interuptions!

YahMan

Doesn't the feed rebuffers each time you refresh a page? The reason I've installed a pop-up player was for that very reason.

Btw, looks great!

~YM

crip

No sir,
it just like the other one with a drop menu containing all your stations.. 8)

YahMan

Also, FireFox says it needs an additional plug in, but can't find it.   :-\

Any ideas, crip? I really like to install this....

~YM

gerrymo

I get the same. FF cant find the plug in for it, so its basically usless.

crip

It's great in IEs media-player, I'm listening now .. cranked up my new Platronic headphones and i'm rocking..I just don't know much about FF.. does not Winders Media Player work with FF?

crip

I thought FF was cool>>> it ant cool if you can"t listen to music= ;D

G6Cad

QuoteI get the same. FF cant find the plug in for it, so its basically usless.

U have to manually instaall the plugin for FF to get the streaming to work.
It took some time before i got my FF to work with streaming radio, but i got there :)

In my FF i got this tip about where and how to implent the mod in FF to be able to use the players.

gerrymo

That does give problems given that 24% of our 1800 or so members are using FF. So not really going to be worth adding, as I'd spend all day, every day explaining how to get it to work.

G6Cad

The FF tells them how to when they open the stream the first time, They simply follow the instruction from the FF window, to the file they need and how they add it in the FF.  :coolsmiley: