summaryrefslogtreecommitdiff
path: root/www/templates
diff options
context:
space:
mode:
authorPliable Pixels <pliablepixels@gmail.com>2018-12-21 10:24:05 -0500
committerPliable Pixels <pliablepixels@gmail.com>2018-12-21 10:24:05 -0500
commita18aa84429258413b0e7adcd6c211f243ebefcf2 (patch)
treefc2d7611e0c02562c63e7f836b1da3cf6e023620 /www/templates
parent71860e6fda10e4772fad034ba036e1b66198a17c (diff)
#766 - wait for rotation to complete or width/height will be wrong
Diffstat (limited to 'www/templates')
-rw-r--r--www/templates/events-modal.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html
index 99994380..d9f2d5d6 100644
--- a/www/templates/events-modal.html
+++ b/www/templates/events-modal.html
@@ -63,8 +63,10 @@
<div ng-if="defaultVideo!==undefined && defaultVideo!='' && !isSnapShot() && !isStreamStopped()">
<div ng-if="videoIsReady">
- <!-- <div style="height:{{$root.devHeight}}px; width:{{$root.devWidth}}px;">-->
- <div on-swipe-left="onSwipeEvent(nextId,1)" on-swipe-right="onSwipeEvent(prevId,-1)" ng-style="{'height':$root.devHeight+'px', 'width':$root.devWidth+'px'}">
+
+ <!-- <div style="max-width:100%; max-height:100%;" on-swipe-left="onSwipeEvent(nextId,1)" on-swipe-right="onSwipeEvent(prevId,-1)" > -->
+
+ <div on-swipe-left="onSwipeEvent(nextId,1)" on-swipe-right="onSwipeEvent(prevId,-1)" ng-style="{'height':$root.devHeight+'px', 'width':$root.devWidth+'px'}">
<videogular vg-can-play="onCanPlay()" vg-native-fullscreen="videoObject.config.nativeFullScreen"
vg-player-ready="onPlayerReady($API)" vg-update-playback="onPlaybackUpdate($playBack)"