mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-11-10 02:08:21 +00:00
show video license and visibility in description
This commit is contained in:
parent
8a4957e115
commit
7a14ab08a2
@ -160,11 +160,14 @@
|
|||||||
<!-- eslint-disable-next-line vue/no-v-html -->
|
<!-- eslint-disable-next-line vue/no-v-html -->
|
||||||
<div v-show="showDesc" class="break-words description" v-html="purifiedDescription" />
|
<div v-show="showDesc" class="break-words description" v-html="purifiedDescription" />
|
||||||
<template v-if="showDesc">
|
<template v-if="showDesc">
|
||||||
|
<br />
|
||||||
<div
|
<div
|
||||||
v-if="sponsors && sponsors.segments"
|
v-if="sponsors && sponsors.segments"
|
||||||
v-text="`${$t('video.sponsor_segments')}: ${sponsors.segments.length}`"
|
v-text="`${$t('video.sponsor_segments')}: ${sponsors.segments.length}`"
|
||||||
/>
|
/>
|
||||||
<div v-if="video.category" v-text="`${$t('video.category')}: ${video.category}`" />
|
<div v-if="video.category" v-text="`${$t('video.category')}: ${video.category}`" />
|
||||||
|
<div v-text="`${$t('video.license')}: ${video.license}`" />
|
||||||
|
<div class="capitalize" v-text="`${$t('video.visibility')}: ${video.visibility}`" />
|
||||||
</template>
|
</template>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -174,6 +174,8 @@
|
|||||||
"shorts": "Shorts",
|
"shorts": "Shorts",
|
||||||
"all": "All",
|
"all": "All",
|
||||||
"category": "Category",
|
"category": "Category",
|
||||||
|
"license": "License",
|
||||||
|
"visibility": "Visibility",
|
||||||
"chapters_horizontal": "Horizontal",
|
"chapters_horizontal": "Horizontal",
|
||||||
"chapters_vertical": "Vertical"
|
"chapters_vertical": "Vertical"
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user