diff options
| author | Henry Jameson <me@hjkos.com> | 2018-08-15 12:51:21 +0300 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2018-08-15 12:51:21 +0300 |
| commit | 0e5b74e3dd798703cf842257e528c85bc7c00121 (patch) | |
| tree | 06ecbf3f3befb363543d92c2fda6b880660b0c0a /src/components/attachment/attachment.vue | |
| parent | d2ec70c3237844333b914c2d26b88f4afc9e0875 (diff) | |
Configurable video looping, option to not to loop silent videos. Updated
localization strings.
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 66110de4..8342f34b 100644 --- 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" :src="attachment.url" controls loop></video> + <video :class="{'small': isSmall}" v-if="type === 'video' && !hidden" @loadeddata="onVideoDataLoad" :src="attachment.url" controls :loop="loopVideo"></video> <audio v-if="type === 'audio'" :src="attachment.url" controls></audio> |
