Go Back   SitePoint Forums > Forum Index > Design Your Site > Graphics
Newsletter FAQ Members List Calendar Mark Forums Read

New to SitePoint Forums? Register here for free!

SitePoint Sponsor
 
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old Mar 6, 2006, 18:29   #1
Daltex
SitePoint Member
 
Join Date: Mar 2006
Posts: 3
Need help getting an embedded mp3 to play in both Firefox and IE

I have a website with an embedded mp3.

I first used the following code:

HTML Code:
<embed src="ft.mp3" autostart="true" loop="true" hidden="true" type="audio/mpeg">
The above seemed to work in both IE and Firefox until I got on my computer at work which doesn't have the Apple Quicktime plugin for Firefox. Isn't Firefox smart enough to realize that I still have Windows Media Player available to play it with?

Anyways, I tried this next:

HTML Code:
<embed TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" SRC="ft.mp3" Name="MediaPlayer" loop="true" ShowControls="0" autostart="true"></embed>
This made it play in both Firefox and IE, but for some reason on my win2k box IE plays the mp3 in Apple Quicktime and the player isn't hidden!

How the heck do I get an embedded mp3 to play in both IE and Firefox with whatever freaking media player the user has? Yes, I read the FAQs about Firefox, and nothing helped.
Daltex is offline   Reply With Quote
 

Bookmarks

« Previous Thread | Next Thread »

Thread Tools
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
Sponsored Links
 
Forum Jump


All times are GMT -7. The time now is 02:39.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright 1998-2009, SitePoint Pty Ltd. All Rights Reserved