Old 24th September 2009, 22:16   #1
Luvodicus
Junior Member
 
Join Date: Sep 2009
Posts: 9
Launching Your Media Player

When someone click the link to launch the music, it automatically opens a tab, and begins playing in their browser. I've seen sites where you can click the button, and it asks you how you want to open the file, instead of launching the file...

My code can be seen below...
<p><a href="http://www.dragonfireradio.com/listen.m3u" target=
_blank"><img src="images/Winamp-Logo.png" alt="" width="50" height="50" /></a><a href="http://www.dragonfireradio.com/listen.asx" target=
_blank"><img src="images/WMP_Logo_for_Vista.png" alt="" width="50" height="50" /></a><br /><a href="http://www.dragonfireradio.com/listen.ram" target=
_blank"><img src="images/realplayer.png" alt="" width="50" height="50"/></a><a href="http://www.dragonfireradio.com/live.html" onclick="window.open('http://www.dragonfireradio.com/live.html','popup','width=500,height=500,scrollbars=no,resizable=no,toolbar=no,directories=no,location=no,menubar=no,status=no,left=0,top=0'); return false"><img src="http://cheltenhamfestivals.com/blog/wp-content/uploads/2009/03/audio-graphic-235x251.jpg" width="50" height="50"/></p>
</a>

Whenever someone clicks one of the 3 choices, the music just launches in their browser... I'm sure someone who runs their own radio station can give me a hand here...

(note, I already have a listen Live button, that launches a new window...)
Luvodicus is offline   Reply With Quote
Old 25th September 2009, 01:57   #2
dotme
Moderator
 
dotme's Avatar
 
Join Date: Feb 2005
Location: USA
Posts: 4,024
Hmmm - might not be in you control. Does this happen for all users, or just one?

If just one, they might have installed a browser plugin like quicktime that hijacks the PLS file and launches it in a seperate window - in which case, they need to dis-associate that file type with that player.

If all of them, it *might* be a "MIME type" issue with the webserver and that could be remedied with a chat with the server admin.
dotme is offline   Reply With Quote
Old 26th September 2009, 17:24   #3
Luvodicus
Junior Member
 
Join Date: Sep 2009
Posts: 9
Ha! I figured it out... the file type is fine, but Mozilla is calling the wrong application.

For other users who may be having this problem, the solution was found by going to TOOLS > OPTIONS > APPLICATIONS and then setting various filetypes to the preferred application.
Luvodicus is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Shoutcast > Shoutcast Site Design

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump