From 836650c71e7743af5f16686002f1cd119aa223e1 Mon Sep 17 00:00:00 2001 From: Gunnar Velle Date: Fri, 10 Jan 2025 12:23:28 +0100 Subject: [PATCH] Adds displaying origin for video. --- src/components/license/VideoLicenseList.tsx | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/components/license/VideoLicenseList.tsx b/src/components/license/VideoLicenseList.tsx index 3fbd0f141..fa7c289a7 100644 --- a/src/components/license/VideoLicenseList.tsx +++ b/src/components/license/VideoLicenseList.tsx @@ -55,6 +55,14 @@ const VideoLicenseInfo = ({ video, isResourcePage }: VideoLicenseInfoProps) => { }); } + if (video.copyright?.origin) { + items.push({ + label: t("source"), + description: video.copyright.origin, + metaType: metaTypes.other, + }); + } + const copyText = figureApa7CopyString( video.title, undefined,