summaryrefslogtreecommitdiff
path: root/www/js/EventServer.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventServer.js')
-rw-r--r--www/js/EventServer.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/js/EventServer.js b/www/js/EventServer.js
index bde58e3e..4f132691 100644
--- a/www/js/EventServer.js
+++ b/www/js/EventServer.js
@@ -375,6 +375,7 @@ angular.module('zmApp.controllers')
}
+ console.log ("*********** MEDIA BLOG IS "+mediasrc);
media = $cordovaMedia.newMedia(mediasrc);
/* var push = PushNotification.init(
{ "android":
@@ -450,6 +451,7 @@ angular.module('zmApp.controllers')
{
// alarm received in foregroun
//var str=data.additionalData.alarm_details;
+ console.log ("PLAYING MEDIA");
media.play();
var str = data.message;
// console.log ("***STRING: " + str + " " +str.status);