invisible sound on webpage?
08-07-2010, 10:52 PM, (This post was last modified: 08-07-2010, 10:53 PM by CrazySp4ce.)
#6
RE: invisible sound on webpage?
(08-06-2010, 11:23 PM)Vanilla Wrote: IE9 will support it, but only play MP3 and AAC, not WAV, which is weird, as it's a Microsoft-IBM developed format.

By the way, you can stack multiple sources inside the audio tag, so that if one format is incompatible, it will automatically go on to the next format, and play it if possible:

Code:
<audio controls autobuffer>
  <source src="elvis.ogg" />
  <source src="elvis.mp3" />
  <!-- now include flash fall back -->
</audio>

Thanks all for the help butt this 1 works
(08-07-2010, 03:21 AM)HiddenKnowledge Wrote:
(08-06-2010, 11:02 AM)RichardGv Wrote: Last but not least, it's usually not a good idea to play audio automatically on a webpage without a way to let user stop it manually. :) And playing music in the background is annoying in viewpoints of some people, like me.

Seriously, a lot of people are browsing the internet at night while the rest of the people are asleep, autoplaying is annoying, autoplaying + hidden is awful!

u really think that hk i was thinking on like a 20 second intro thingy
Exclamation Caution! Im A WiErDo Exclamation
Reply


Messages In This Thread
invisible sound on webpage? - by CrazySp4ce - 08-06-2010, 08:31 AM
RE: invisible sound on webpage? - by RichardGv - 08-06-2010, 11:02 AM
RE: invisible sound on webpage? - by khy - 08-06-2010, 11:36 AM
RE: invisible sound on webpage? - by Vanilla - 08-06-2010, 11:23 PM
RE: invisible sound on webpage? - by CrazySp4ce - 08-07-2010, 10:52 PM

Forum Jump: