Mobile gif fixes
This commit is contained in:
parent
56a58e711b
commit
147635d13a
@ -3,7 +3,7 @@
|
|||||||
<div class="img_gif_image_wrap">
|
<div class="img_gif_image_wrap">
|
||||||
|
|
||||||
<div ng-if="document.url" ng-show="document.downloaded && isActive" ng-switch="document.mime_type == 'video/mp4'">
|
<div ng-if="document.url" ng-show="document.downloaded && isActive" ng-switch="document.mime_type == 'video/mp4'">
|
||||||
<video ng-switch-when="true" width="{{document.thumb.width}}" height="{{document.thumb.height}}" loop autoplay class="img_gif_video">
|
<video ng-switch-when="true" width="{{document.thumb.width}}" height="{{document.thumb.height}}" controls class="img_gif_video">
|
||||||
<source ng-src="{{document.url}}" type="video/mp4">
|
<source ng-src="{{document.url}}" type="video/mp4">
|
||||||
</video>
|
</video>
|
||||||
<img ng-switch-default class="img_gif_image" ng-src="{{document.url}}" width="{{document.thumb.width}}" height="{{document.thumb.height}}" />
|
<img ng-switch-default class="img_gif_image" ng-src="{{document.url}}" width="{{document.thumb.width}}" height="{{document.thumb.height}}" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user