2020-12-03 10:00:23 +01:00
|
|
|
<template>
|
2021-05-10 12:34:32 +02:00
|
|
|
<message-outgoing v-bind="{ ...$props, ...$attrs }" v-on="$listeners">
|
2021-01-11 17:44:09 +01:00
|
|
|
<div class="audio-bubble">
|
2021-05-20 12:33:59 +02:00
|
|
|
<audio-player :src="src">{{ $t('fallbacks.audio_file')}}</audio-player>
|
2020-12-03 10:00:23 +01:00
|
|
|
</div>
|
2021-05-07 09:15:15 +02:00
|
|
|
</message-outgoing>
|
2020-12-03 10:00:23 +01:00
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import attachmentMixin from "./attachmentMixin";
|
2021-05-07 11:30:24 +02:00
|
|
|
import AudioPlayer from './AudioPlayer.vue';
|
2021-05-07 09:15:15 +02:00
|
|
|
import MessageOutgoing from "./MessageOutgoing.vue";
|
2020-12-03 10:00:23 +01:00
|
|
|
|
|
|
|
|
export default {
|
2021-05-07 09:15:15 +02:00
|
|
|
extends: MessageOutgoing,
|
2021-05-07 11:30:24 +02:00
|
|
|
components: { MessageOutgoing, AudioPlayer },
|
2021-05-07 09:15:15 +02:00
|
|
|
mixins: [attachmentMixin],
|
2020-12-03 10:00:23 +01:00
|
|
|
};
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
|
@import "@/assets/css/chat.scss";
|
|
|
|
|
</style>
|