logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: 9591d179f48b90b072e70b4fc475ae1691b96313
parent: 341e7da1d8c9fa024d6bb3a214190f6b9a569973
Author: Henry <spam@hjkos.com>
Date:   Wed,  5 Dec 2018 07:29:27 +0000

Merge branch 'feld-ios_video' into 'develop'

Fix iOS Safari from making videos play fullscreen by default

Closes #178

See merge request pleroma/pleroma-fe!400

Diffstat:

Msrc/components/attachment/attachment.vue2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue @@ -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>