file preview refactoring

This commit is contained in:
Peter Papp
2021-08-10 11:43:05 +02:00
parent 843a1bc690
commit 98688b81c0
9 changed files with 228 additions and 163 deletions

View File

@@ -0,0 +1,17 @@
<template>
<audio
:class="{'file-shadow': ! this.$isMobile() }"
class="file audio"
:src="file.file_url"
controls>
</audio>
</template>
<script>
export default {
name: 'Audio',
props: [
'file'
],
}
</script>