From 0cb669c9d6bee61b11249a3015679a5d8ecbffe6 Mon Sep 17 00:00:00 2001
From: Aleksandra Pleshcheva <46083995+aeksandla@users.noreply.github.com>
Date: Thu, 19 Dec 2024 16:45:01 +0300
Subject: [PATCH] fix: insert video microdata by dangerouslySetInnerHTML
(#1088)
* fix(Media): fix video microdata
---
src/components/Media/Media.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/components/Media/Media.tsx b/src/components/Media/Media.tsx
index 1a3fa02e4..75ace34ea 100644
--- a/src/components/Media/Media.tsx
+++ b/src/components/Media/Media.tsx
@@ -173,7 +173,7 @@ export const Media = (props: MediaAllProps) => {
});
return video || youtube || videoIframe ? (
-
+
) : null;
}, [microdata?.contentUpdatedDate, previewImg, video, videoIframe, videoMicrodata, youtube]);