trigger.io - how can i play a notification sound in IOS -


can give example of playing sound (eg, notification beep) triggered via javascript or forge? have tried everything, fails on ios!!

if (newtweets) { playsound('beep.wav'); }

any appreciated driving me insane!!!

cheers.

add media module trigger.io app.

looking @ documentation, following code should trick:

forge.file.getlocal("music.mp3", function (file) {   forge.media.createaudioplayer(file, function (player) {     player.play();   }); }); 

Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -