Skip to content
Snippets Groups Projects
Commit 9591d179 authored by HJ's avatar HJ :fire:
Browse files

Merge branch 'feld-ios_video' into 'develop'

Fix iOS Safari from making videos play fullscreen by default

Closes #178

See merge request !400
parents 341e7da1 75879621
No related branches found
No related tags found
1 merge request!400Fix iOS Safari from making videos play fullscreen by default
Pipeline #
......@@ -14,7 +14,7 @@
<StillImage :class="{'small': isSmall}" referrerpolicy="no-referrer" :mimetype="attachment.mimetype" :src="attachment.large_thumb_url || attachment.url"/>
</a>
<video :class="{'small': isSmall}" v-if="type === 'video' && !hidden" @loadeddata="onVideoDataLoad" :src="attachment.url" controls :loop="loopVideo"></video>
<video :class="{'small': isSmall}" v-if="type === 'video' && !hidden" @loadeddata="onVideoDataLoad" :src="attachment.url" controls :loop="loopVideo" playsinline></video>
<audio v-if="type === 'audio'" :src="attachment.url" controls></audio>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment