player size and file / folder name
This commit is contained in:
@@ -349,8 +349,11 @@ const component_audio_player = {
|
|||||||
},
|
},
|
||||||
props: ["file"],
|
props: ["file"],
|
||||||
template: `
|
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>
|
</video>
|
||||||
|
</div>
|
||||||
`,
|
`,
|
||||||
computed: {
|
computed: {
|
||||||
computed_playing_audio_file_url() {
|
computed_playing_audio_file_url() {
|
||||||
|
|||||||
@@ -37,3 +37,7 @@ a.router-link-active {
|
|||||||
background-color: lightgray;
|
background-color: lightgray;
|
||||||
border-radius: 0.39em 0.39em 0 0;
|
border-radius: 0.39em 0.39em 0 0;
|
||||||
}
|
}
|
||||||
|
video {
|
||||||
|
height: 39px;
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user