Is there a way to get the "CaptchaAudio" to automatically play from the page rather then forcing the user to download a WAV file and open it?
The only way I could get this functionality was to write some javascript to capture the audio url from the Audio link; create another button that embeds and fires the audio from that link, and hide the automatically generated Audio Link Text (see code).
It would be nice if the RadCaptcha control did this automatically.
...
<style type="text/css">
.rcCaptchaAudioLink {display: none;}
</style>
...
<telerik:RadCaptcha...
...
<img src="Images/audio_but.png" alt="Play Sound" onclick="PlaySound()" />
<span id="SoundSpan"></span>
...
<script type="text/javascript">
function PlaySound() {
var soundHRef = document.getElementById("RadCaptcha1_CaptchaAudioCode");
document.getElementById("SoundSpan").innerHTML = "<embed src='" + soundHRef.getAttribute("href").toString() + "' hidden='true' autostart='true' loop = false' />";
}
</script>
...