aboutsummaryrefslogtreecommitdiff
path: root/src/components/attachment
diff options
context:
space:
mode:
authorShpuld Shpludson <shp@cock.li>2020-09-29 10:18:37 +0000
committerShpuld Shpludson <shp@cock.li>2020-09-29 10:18:37 +0000
commit91778a02766602b81ec8737282495aa4b5294d19 (patch)
treeda6bb6092acfb50b441f3afb5c4cc792e0b2b3a4 /src/components/attachment
parent3781e521e64a59c4e38902601555ae01f99d9fce (diff)
parentf174f289a93e6bef1182a2face00bb809da49d18 (diff)
Merge branch 'feat/custom-virtual-scrolling' into 'develop'
Timeline virtual scrolling See merge request pleroma/pleroma-fe!1043
Diffstat (limited to 'src/components/attachment')
-rw-r--r--src/components/attachment/attachment.vue4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue
index 63e0ceba..7fabc963 100644
--- a/src/components/attachment/attachment.vue
+++ b/src/components/attachment/attachment.vue
@@ -80,6 +80,8 @@
class="video"
:attachment="attachment"
:controls="allowPlay"
+ @play="$emit('play')"
+ @pause="$emit('pause')"
/>
<i
v-if="!allowPlay"
@@ -93,6 +95,8 @@
:alt="attachment.description"
:title="attachment.description"
controls
+ @play="$emit('play')"
+ @pause="$emit('pause')"
/>
<div