diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/EventModalCtrl.js | 2 | ||||
| -rwxr-xr-x | www/js/app.js | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/www/js/EventModalCtrl.js b/www/js/EventModalCtrl.js index 176a91cf..13e20ecb 100644 --- a/www/js/EventModalCtrl.js +++ b/www/js/EventModalCtrl.js @@ -2141,7 +2141,7 @@ angular.module('zmApp.controllers').controller('EventModalCtrl', ['$scope', '$ro $scope.videoObject = { config: { autoPlay: true, - responsive: false, + responsive: true, nativeControls: false, nativeFullScreen: true, diff --git a/www/js/app.js b/www/js/app.js index 73b50511..57f32aa2 100755 --- a/www/js/app.js +++ b/www/js/app.js @@ -1471,6 +1471,7 @@ angular.module('zmApp', [ $rootScope.pixelRatio = pixelRatio; $rootScope.devWidth = ((window.innerWidth > 0) ? window.innerWidth : screen.width); $rootScope.devHeight = ((window.innerHeight > 0) ? window.innerHeight : screen.height); + $rootScope.videoHeight = $rootScope.devHeight - 20; NVR.debug("resize/orient: " + $rootScope.devWidth + "(w) * " + $rootScope.devHeight+"(h)"); |
