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
Post a Comment