diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/templates/events-modal.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/www/templates/events-modal.html b/www/templates/events-modal.html index 6f2a4c8f..58573026 100644 --- a/www/templates/events-modal.html +++ b/www/templates/events-modal.html @@ -16,12 +16,13 @@ </div> <!-- no default video --> <div ng-if="defaultVideo!==undefined && defaultVideo!='' && loginData.enableh264 == true"> - <div ng-if="videoIsReady" class="videogular-full-container"> + <!--<div ng-if="videoIsReady" class="videogular-full-container">--> + <div ng-if="videoIsReady" ng-class="{'object-fit_cover':imageFit==false, 'object-fit_contain':imageFit==true}" > <!--<video width="320" height="240" controls> <source src="" dynamic-url dynamic-url-src="{{video_url}}"> </video>--> - <videogular vg-error="onVideoError($event)" vg-can-play = "onCanPlay()" vg-player-ready="onPlayerReady($API)" vg-theme="videoObject.config.theme" vg-complete="playbackFinished()" on-double-tap="closeModal();" vg-autoplay="false" vg-responsive="true" > + <videogular vg-error="onVideoError($event)" vg-can-play = "onCanPlay()" vg-player-ready="onPlayerReady($API)" vg-plays-inline="videoObject.config.playsInline" vg-theme="videoObject.config.theme" vg-complete="playbackFinished()" on-double-tap="closeModal();" vg-autoplay="videoObject.config.autoPlay" vg-responsive="true" > <<vg-media vg-src="videoObject.config.sources" vg-native-controls="false"> </vg-media>- |
