[nycphp-talk] OT - sound on HTML page
zippy1981 at gmail.com
Thu Nov 13 12:13:56 EST 2008
Well if your comfortable with flash or flex my solution isn't
"complicated". Its also an example of using flash unobtrusively. swfs
can embed mp3s or play external ones. Many sites have flash players
for sounds. You just have to find a free one that supports autoplay
and hide it.
I guess complicated is relative to the tools your proficient with.
On Thu, Nov 13, 2008 at 11:15 AM, csnyder <chsnyder at gmail.com> wrote:
> On Thu, Nov 13, 2008 at 11:03 AM, Néstor <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
>> <embed src='dontworry.mp3' autostart=true volume=90 hidden=TRUE height=0
>> width=0 />
>> <NOEMBED><BGSOUND src="dontworry.mp3"></NOEMBED>
>> Any ideas?
>> Nestor :-)
> No no no, that's not complicated enough. Try using SoundManager2:
> Since it uses Flash to play audio, it will work in any browser. Plus
> button on the page.
> Or you could wait for HTML5's <audio> tag. :-)
> New York PHP Community Talk Mailing List
> NYPHPCon 2006 Presentations Online
> Show Your Participation in New York PHP
More information about the talk