diff --git a/src/app/molecules/media/Media.jsx b/src/app/molecules/media/Media.jsx index 5bbff64e..dea58a60 100644 --- a/src/app/molecules/media/Media.jsx +++ b/src/app/molecules/media/Media.jsx @@ -373,30 +373,31 @@ function IframePlayer({ }; return ( -
-
- {`${sitename} - ${title}`} +
+
+
+ {`${sitename} - ${title}`} - window.open(link)} - /> -
- -
- {!videoStarted && {`${sitename}} - {!videoStarted && } - - {videoStarted && ( -
- {children} -
- )} + window.open(link)} + /> +
+
+ {videoStarted ? ( +
+ {children} +
+ ) : ( + <> + {`${sitename} + + + )} +
); @@ -454,8 +455,10 @@ function Embed({ link }) { // Image only embed if (image != null && urlPreviewInfo['og:title'] == null && urlPreviewInfo['og:description'] == null) { return ( -
- {image} +
+
+ {image} +
); } @@ -463,8 +466,8 @@ function Embed({ link }) { const embedTitle = urlPreviewInfo['og:title'] || urlPreviewInfo['og:site_name']; return ( -
-
+
+
{(embedTitle != null) && ( @@ -536,15 +539,17 @@ function YoutubeEmbed({ link }) { if (urlPreviewInfo !== null) { return ( - -