var VoiceObj = new ActiveXObject(“Sapi.SpVoice”);
This code runs fine in I.E. but not in FIREFOX.
Can anyone help me?
Is there any way for Pause, Resume Audio ?
Thanks
var VoiceObj = new ActiveXObject(“Sapi.SpVoice”);
This code runs fine in I.E. but not in FIREFOX.
Can anyone help me?
Is there any way for Pause, Resume Audio ?
Thanks
ActiveX objects only work on IE, not on any other browser (although there’s a Firefox extension that might be able to load ActiveX, not sure).
If you’re looking for a javascript audio player, Google gives a number of results but most seem to be for Flash players with a javascript api.
Most of the time people use flash, like Delicious’ play tagger http://delicious.com/help/playtagger because they can control how it displays.
You can use an object (IE) with an embed inside(everything else) to play audio, but controls will appear differently depending on the platform the user is running. If iPhones/iPads are a concern you might need to detect them and replace the player with a link to the audio file.