2019-01-26 07:45:03 -08:00
|
|
|
<template>
|
2019-07-05 00:17:44 -07:00
|
|
|
<video
|
|
|
|
class="video"
|
2020-11-19 08:45:15 -08:00
|
|
|
preload="metadata"
|
2019-01-26 07:45:03 -08:00
|
|
|
:src="attachment.url"
|
|
|
|
:loop="loopVideo"
|
|
|
|
:controls="controls"
|
2020-06-29 04:48:22 -07:00
|
|
|
:alt="attachment.description"
|
|
|
|
:title="attachment.description"
|
2019-01-26 07:45:03 -08:00
|
|
|
playsinline
|
2020-09-29 03:18:37 -07:00
|
|
|
@playing="onPlaying"
|
|
|
|
@pause="onPaused"
|
2019-01-26 07:45:03 -08:00
|
|
|
/>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script src="./video_attachment.js"></script>
|