On Wed, 04 Jan 2012 18:23:51 +1100 Andrew Poulos
<
ap_...@hotmail.com> wrote:
> I'm using this to embed OGG audio into a HTML 4 page
[snip]
> <object width="200" height="20" data="test.ogg" type="audio/ogg">
> <param name="autoplay" value="false"> </object>
[snip]
> It presents a number of issues. The first of which is that Chrome
> and Firefox will auto-play the audio even though I've set it not
> to. I've tried a number of things including using 'autostart' in
> place of 'autoplay, and 0 for the value. All to no avail.
>
> How can I get this to not auto-play in Chrome and Firefox?
You will get a similar result using an iframe or opening the file directly.
In firefox inspecting it with firebug you should get a better ideal about what
is going on. Firefox is using a video element that has the autoplay attribute,
just as it would if the file was open directly.
May just be easier to use a video/audio element to begin with.
--
BootNic Thu Jan 5, 2012 04:05 am
Happiness is not something you experience, it's something you remember.
*Oscar Levant*