aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-03-10 11:10:16 +0100
committerChocobozzz <me@florianbigard.com>2023-03-10 15:45:52 +0100
commit4899138ec5995075c3681ccbd9f6b163fb915991 (patch)
tree285973833829de6c20a0aeb95142a07e839db29f /client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html
parent085aba61c35ad63155a46453dff7752840e82146 (diff)
downloadPeerTube-4899138ec5995075c3681ccbd9f6b163fb915991.tar.gz
PeerTube-4899138ec5995075c3681ccbd9f6b163fb915991.tar.zst
PeerTube-4899138ec5995075c3681ccbd9f6b163fb915991.zip
Add ability for plugins to add metadata
Diffstat (limited to 'client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html')
-rw-r--r--client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html b/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html
index 52ad1999d..0aa707666 100644
--- a/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html
+++ b/client/src/app/+videos/+video-watch/shared/metadata/video-attributes.component.html
@@ -62,3 +62,10 @@
62 <span i18n class="attribute-label">Duration</span> 62 <span i18n class="attribute-label">Duration</span>
63 <span class="attribute-value">{{ video.duration | myDurationFormatter }}</span> 63 <span class="attribute-value">{{ video.duration | myDurationFormatter }}</span>
64</div> 64</div>
65
66<div class="attribute attribute-plugin" *ngFor="let metadata of pluginMetadata">
67 <span class="attribute-label">{{ metadata.label }}</span>
68
69 <span *ngIf="metadata.value" class="attribute-value">{{ metadata.value }}</span>
70 <span *ngIf="metadata.safeHTML" class="attribute-value" [innerHTML]="metadata.safeHTML"></span>
71</div>