CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2014
    Posts
    1

    Question HTML Keypad with audio

    This is such a great keypad! Anybody know how I would I make the code to play a piece of audio with the corresponding 4-digit code (i.e. entering 0321 on the form and it automaticall play "0321.mp3")? Thanks!
    Last edited by PeejAvery; May 5th, 2014 at 10:58 AM. Reason: Added link to original thread

  2. #2
    Join Date
    May 2002
    Posts
    10,943

    Re: HTML Keypad with audio

    [ split thread ]
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

  3. #3
    Join Date
    May 2002
    Posts
    10,943

    Re: HTML Keypad with audio

    Welcome to the forums alauraborealis!

    Please remember to create a new thread when you have a question. If it pertains to some other person's code, please link back to it in your post.

    Concerning your question, depending on how the person's browser cache is, there could be a delay. You could try to preload all audio files, but if the browser's cache is limited or disabled, then it won't work.

    http://www.javascripter.net/faq/sound/play.htm
    If the post was helpful...Rate it! Remember to use [code] or [php] tags.

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured