www.webdeveloper.com
Results 1 to 2 of 2

Thread: Bokeh's Captcha Script

  1. #1
    Join Date
    Dec 2005
    Posts
    2,984

    Bokeh's Captcha Script

    So this question is concerning exactly what is says it is. I am using Bokeh's captcha script but instead of downloading the audio, I would like the user to be able to hear it right from their browser when they click on the link to the audio "file".

    Google's sign up page does this by using a javascript function which changes the innerHTML of a div to have the <embed> code linking to the audio file. The Javascript is easy enough, however, I was wondering how to actually create the audio file and save it to the server, rather than just have this automatically generated file downloaded while not created as a file on the server.

    Hopefully you know what I am trying to do.

    Thanks.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

  2. #2
    Join Date
    Dec 2005
    Posts
    2,984
    disregard the post. i realized I already knew the answer, I just couldn't figure it out - set the src for the embed element inserted via javascript to be ?audio....dummy.
    I've switched careers...
    I'm NO LONGER a scientist,
    but now a web developer...
    awesome.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles