mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-30 18:43:17 +00:00
player: add ability to hide description
This commit is contained in:
parent
b68bb223e5
commit
185523fd0f
@ -26,7 +26,15 @@
|
||||
<p>
|
||||
Uploaded on <b>{{ video.uploadDate }}</b>
|
||||
</p>
|
||||
<a
|
||||
class="uk-button uk-button-small"
|
||||
style="background: #222"
|
||||
@click="showDesc = !showDesc"
|
||||
>
|
||||
{{ showDesc ? "+" : "-" }}
|
||||
</a>
|
||||
<p
|
||||
v-show="showDesc"
|
||||
class="uk-light"
|
||||
v-if="video.description"
|
||||
v-html="video.description.replaceAll('\n', '<br>')"
|
||||
@ -89,7 +97,8 @@ export default {
|
||||
player: null,
|
||||
audioplayer: null,
|
||||
sponsors: null,
|
||||
selectedAutoPlay: null
|
||||
selectedAutoPlay: null,
|
||||
showDesc: true
|
||||
};
|
||||
},
|
||||
mounted() {
|
||||
|
Loading…
Reference in New Issue
Block a user