forked from AkkomaGang/akkoma-fe
fix videos and related not having working drag controls
This commit is contained in:
parent
4016182b89
commit
4ba8d95a10
1 changed files with 6 additions and 6 deletions
|
@ -127,7 +127,7 @@
|
||||||
/>
|
/>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
<a
|
<span
|
||||||
v-if="type === 'video' && !hidden"
|
v-if="type === 'video' && !hidden"
|
||||||
class="video-container"
|
class="video-container"
|
||||||
:href="attachment.url"
|
:href="attachment.url"
|
||||||
|
@ -145,9 +145,9 @@
|
||||||
class="play-icon"
|
class="play-icon"
|
||||||
icon="play-circle"
|
icon="play-circle"
|
||||||
/>
|
/>
|
||||||
</a>
|
</span>
|
||||||
|
|
||||||
<a
|
<span
|
||||||
v-if="type === 'audio' && !hidden"
|
v-if="type === 'audio' && !hidden"
|
||||||
class="audio-container"
|
class="audio-container"
|
||||||
:href="attachment.url"
|
:href="attachment.url"
|
||||||
|
@ -162,7 +162,7 @@
|
||||||
@play="$emit('play')"
|
@play="$emit('play')"
|
||||||
@pause="$emit('pause')"
|
@pause="$emit('pause')"
|
||||||
/>
|
/>
|
||||||
</a>
|
</span>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
v-if="type === 'html' && attachment.oembed"
|
v-if="type === 'html' && attachment.oembed"
|
||||||
|
@ -183,7 +183,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a
|
<span
|
||||||
v-if="type === 'flash' && !hidden"
|
v-if="type === 'flash' && !hidden"
|
||||||
class="flash-container"
|
class="flash-container"
|
||||||
:href="attachment.url"
|
:href="attachment.url"
|
||||||
|
@ -196,7 +196,7 @@
|
||||||
@playerOpened="setFlashLoaded(true)"
|
@playerOpened="setFlashLoaded(true)"
|
||||||
@playerClosed="setFlashLoaded(false)"
|
@playerClosed="setFlashLoaded(false)"
|
||||||
/>
|
/>
|
||||||
</a>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
v-if="size !== 'hide' && !hideDescription && (edit || localDescription)"
|
v-if="size !== 'hide' && !hideDescription && (edit || localDescription)"
|
||||||
|
|
Loading…
Reference in a new issue