You are wrong :)

The (incomplete) code you have there is telling the browser to embed a
specific swf file. If the browser does not have a plugin to handle a swf
file, then the audio will never play as there is nothing to play it back...

BTW - you need a wrapper <object> tag which describes to the browser what
plugin is supposed to handle the <embed> (as well as displaying in IE -
<embed> is only for Mozilla based browsers). Something like:

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="
http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0";
WIDTH="550" HEIGHT="400">

SWFObject helps developers by taking away most of these manual coding
requirements and lets you specify your file and parameters in a couple of
lines. I;d suggest you read the docs etc :)


Cheers,
Aran



On Thu, Apr 28, 2011 at 7:23 AM, ktom <[email protected]> wrote:

> Following script should play Audio even if Flash player is not
> installed on host computer?
> or I am wrong.
>
>
> <embed type="application/x-shockwave-flash" src="http://www.google.com/
> reader/ui/3523697345-audio-player.swf" flashvars="audioUrl=http://
> www.whatever.com&autoPlay=true" LOOP="true" width="400" height="27"></
> embed>
>
> --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to