jrthor2
04-17-2007, 08:55 AM
I have a site that is using flash for captcha, and we also generate a .wav file that we want to be able to play if the user clicks on a "play" link. I am trying to using the object tag (instead of embed) for the audio file like this:
<object type="audio/x-wav" data="security.wav" width="0" height="0" name="sound1" id="sound1" title="Security Code Audio">
<param name="src" value="security.wav"/>
<param name="autoplay" value="false"/>
<param name="autoStart" value="0"/>
</object>
How do I invoke playing this file when the user clicks a link?
Thanks
<object type="audio/x-wav" data="security.wav" width="0" height="0" name="sound1" id="sound1" title="Security Code Audio">
<param name="src" value="security.wav"/>
<param name="autoplay" value="false"/>
<param name="autoStart" value="0"/>
</object>
How do I invoke playing this file when the user clicks a link?
Thanks