akkoma-fe/src/components/video_attachment/video_attachment.vue

13 lines
225 B
Vue
Raw Normal View History

2019-01-26 15:45:03 +00:00
<template>
2019-07-05 07:17:44 +00:00
<video
class="video"
2019-01-26 15:45:03 +00:00
:src="attachment.url"
:loop="loopVideo"
:controls="controls"
playsinline
2019-07-05 07:17:44 +00:00
@loadeddata="onVideoDataLoad"
2019-01-26 15:45:03 +00:00
/>
</template>
<script src="./video_attachment.js"></script>