I’m writing a silly page where I have 5 audio elements named myAudio1 thru myAudio5, and I want to display hello/goodbye messages when each of these audios are played/ended. My current (certainly not the best) approach is having a JavaScript snippet for each of my audio tags: (this is for the first one) so I have five of these snippets
Tag: html5-audio
WebRTC issue when using RecordRTC
We use the RecordRTC library to record user audio to our system. But an user got this error: Uncaught sample-rate must be under range 22050 and 96000 And I’m not sure what does it mean, as far as I could find on google it has something to do with his hardware (mic or headphone). Is that correct? There’s nothing much
Playing pls files with Jplayer
I am currently trying to get a radio stream from ShoutCast to play with JPlayer with no success. Ideally I would like a pls file such as this one http://yp.shoutcast.com/sbin/tunein-station.pls?id=1377246 to play with JPlayer. Here is my current code: Not sure whether this is possible or not but I would appreciate any support. Thanks Answer A .pls file is a
How to play a notification sound on websites?
When a certain event occurs, I want my website to play a short notification sound to the user. The sound should not auto-start (instantly) when the website is opened. Instead, it should be played on demand via JavaScript (when that certain event occurs). It is important that this also works on older browsers (IE6 and such). So, basically there are