mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
file preview refactoring
This commit is contained in:
17
resources/js/components/FilePreview/Media/Audio.vue
Normal file
17
resources/js/components/FilePreview/Media/Audio.vue
Normal 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>
|
||||
Reference in New Issue
Block a user