NYCPHP Meetup

NYPHP.org

[nycphp-talk] OT - sound on HTML page

Rolan Yang rolan at omnistep.com
Thu Nov 13 12:16:54 EST 2008


I believe it's because your FF on linux doesn't have the mp3 extension 
tied to a plugin, but most everything seems to play .au files.

~Rolan

Néstor wrote:
> Actually, the boss wants the page to autoload the sound in the 
> background.  The code I
> showed in my original post does work on IE.  Since it is a one time 
> joke for the boss
> during a presentation, I will just leave it like that and have him use 
> IE . 
> Is the first time that I see where IE can do something that FF can not.
>
> Everything I read, mentions that EMBED should work on other browsers.
>
> Thanks for the info!!!I am not going to waste more time on this.  
>
> Nestor :-)
>
> On Thu, Nov 13, 2008 at 8:15 AM, csnyder <chsnyder at gmail.com 
> <mailto:chsnyder at gmail.com>> wrote:
>
>     On Thu, Nov 13, 2008 at 11:03 AM, Néstor <rotsen at gmail.com
>     <mailto:rotsen at gmail.com>> wrote:
>     > Hi people,
>     >
>     > This is not an PHP question.  It is a question about auto load
>     sound on an
>     > html page.
>     >
>     > I am using the following inside an html page but it works on IE
>     but it does
>     > not work
>     > in FF.  FF in rhel5 wants me load a plugin and FF on W2K does nto do
>     > anything:
>     >
>     > <embed src='dontworry.mp3' autostart=true volume=90 hidden=TRUE
>     height=0
>     > width=0 />
>     >
>     > <NOEMBED><BGSOUND src="dontworry.mp3"></NOEMBED>
>     >
>     > Any ideas?
>     >
>     > Thanks,
>     >
>     > Nestor :-)
>     >
>     >
>
>     No no no, that's not complicated enough. Try using SoundManager2:
>     http://www.schillmania.com/projects/soundmanager2/
>
>     Since it uses Flash to play audio, it will work in any browser. Plus
>     you get javascript control over audio so you can put a big "mute"
>     button on the page.
>
>     Or you could wait for HTML5's <audio> tag. :-)
>
>     _______________________________________________
>     New York PHP Community Talk Mailing List
>     http://lists.nyphp.org/mailman/listinfo/talk
>
>     NYPHPCon 2006 Presentations Online
>     http://www.nyphpcon.com
>
>     Show Your Participation in New York PHP
>     http://www.nyphp.org/show_participation.php
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> New York PHP Community Talk Mailing List
> http://lists.nyphp.org/mailman/listinfo/talk
>
> NYPHPCon 2006 Presentations Online
> http://www.nyphpcon.com
>
> Show Your Participation in New York PHP
> http://www.nyphp.org/show_participation.php



More information about the talk mailing list