diff options
| author | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-30 11:22:49 -0400 |
|---|---|---|
| committer | Pliable Pixels <pliablepixels@gmail.com> | 2018-04-30 11:22:49 -0400 |
| commit | 81be03e8259d967c468871b426c0ac1cd11657c2 (patch) | |
| tree | e88e130cab11d5e1306eea1617c1a063c81f736f /www/js/EventCtrl.js | |
| parent | 3c29380ef33accd99c6ed2847539a3856619a190 (diff) | |
#618 video urls to add tokens
Diffstat (limited to 'www/js/EventCtrl.js')
| -rw-r--r-- | www/js/EventCtrl.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/js/EventCtrl.js b/www/js/EventCtrl.js index b158b915..5604ff8d 100644 --- a/www/js/EventCtrl.js +++ b/www/js/EventCtrl.js @@ -2478,9 +2478,11 @@ angular.module('zmApp.controllers') /* videoURL = event.Event.baseURL + "/events/" + event.Event.relativePath + event.Event.DefaultVideo;*/ 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; - // console.log("************** VIDEO IS " + videoURL); + console.log("************** VIDEO IS " + videoURL); event.Event.video.config = { autoPlay: true, sources: [ |
