2021-03-17 12:13:53 +01:00
|
|
|
<template>
|
2021-05-10 12:34:32 +02:00
|
|
|
<message-outgoing v-bind="{ ...$props, ...$attrs }" v-on="$listeners">
|
2021-03-17 12:13:53 +01:00
|
|
|
<div class="bubble image-bubble">
|
|
|
|
|
<v-responsive :aspect-ratio="16 / 9" class="ma-0 pa-0">
|
2021-05-06 23:12:02 +02:00
|
|
|
<video :src="src" controls style="width: 100%; height: 100%">
|
2021-05-20 12:33:59 +02:00
|
|
|
{{$t('fallbacks.video_file')}}
|
2021-05-06 23:12:02 +02:00
|
|
|
</video>
|
2021-03-17 12:13:53 +01:00
|
|
|
</v-responsive>
|
|
|
|
|
</div>
|
2021-05-07 09:15:15 +02:00
|
|
|
</message-outgoing>
|
2021-03-17 12:13:53 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import attachmentMixin from "./attachmentMixin";
|
2021-05-07 09:15:15 +02:00
|
|
|
import MessageOutgoing from "./MessageOutgoing.vue";
|
2021-03-17 12:13:53 +01:00
|
|
|
|
|
|
|
|
export default {
|
2021-05-07 09:15:15 +02:00
|
|
|
extends: MessageOutgoing,
|
|
|
|
|
components: { MessageOutgoing },
|
|
|
|
|
mixins: [attachmentMixin],
|
2021-03-17 12:13:53 +01:00
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
@import "@/assets/css/chat.scss";
|
|
|
|
|
</style>
|