player size and file / folder name
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -37,3 +37,7 @@ a.router-link-active {
|
||||
background-color: lightgray;
|
||||
border-radius: 0.39em 0.39em 0 0;
|
||||
}
|
||||
video {
|
||||
height: 39px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user