-
April 29th, 2014, 05:22 PM
#1
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
-
May 5th, 2014, 10:58 AM
#2
Re: HTML Keypad with audio
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
May 5th, 2014, 11:10 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|