summaryrefslogtreecommitdiff
path: root/www/js/EventModalCtrl.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/EventModalCtrl.js')
-rw-r--r--www/js/EventModalCtrl.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js
index 41fb2727..0f56b488 100644
--- a/www/js/EventModalCtrl.js
+++ b/www/js/EventModalCtrl.js
@@ -1919,6 +1919,9 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro
else
videoURL = event.Event.baseURL + "/index.php?view=view_video&eid=" + event.Event.Id;
+ if ($rootScope.authSession != 'undefined') videoURL +=$rootScope.authSession;
+ if ($rootScope.basicAuthToken) videoURL = videoURL+"&basicauth="+$rootScope.basicAuthToken;
+
// hack
//videoURL = "http://static.videogular.com/assets/videos/videogular.mp4";