player size and file / folder name

This commit is contained in:
2021-05-23 01:14:36 +08:00
parent 8941c6df28
commit 5bc57be0db
2 changed files with 8 additions and 1 deletions

View File

@@ -349,8 +349,11 @@ const component_audio_player = {
},
props: ["file"],
template: `
<video v-if="computed_show" :src="computed_playing_audio_file_url" controls autoplay>
<div v-if="computed_show">
<span>{{ file.filename }} / {{ file.foldername }}</span>
<video :src="computed_playing_audio_file_url" controls autoplay>
</video>
</div>
`,
computed: {
computed_playing_audio_file_url() {