From 9af0763d86d20519764adca035e4c931a4b336cb Mon Sep 17 00:00:00 2001 From: Nils Knappmeier Date: Sat, 24 Aug 2024 14:40:45 +0200 Subject: [PATCH] fix video container size --- src/YoutubePlayer/PlayerContainer.tsx | 24 ++++++++++-------------- src/YoutubePlayer/adapter.ts | 1 - 2 files changed, 10 insertions(+), 15 deletions(-) diff --git a/src/YoutubePlayer/PlayerContainer.tsx b/src/YoutubePlayer/PlayerContainer.tsx index b954030..6f82211 100644 --- a/src/YoutubePlayer/PlayerContainer.tsx +++ b/src/YoutubePlayer/PlayerContainer.tsx @@ -41,22 +41,18 @@ const PlayerContainer: Component<{ } return ( -
- -
+
+
{youtubeLink() != null && ( -
+
+
{t("video.source")}{" "} {youtubeLink()?.videoPackMetadata.name} diff --git a/src/YoutubePlayer/adapter.ts b/src/YoutubePlayer/adapter.ts index 058dfc2..371149b 100644 --- a/src/YoutubePlayer/adapter.ts +++ b/src/YoutubePlayer/adapter.ts @@ -20,7 +20,6 @@ export async function loadYoutubeAdapter(container: HTMLDivElement): Promise