From 926bf5496fd3caa204b5d48a71b6028544d7d49e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 20 Oct 2021 09:56:15 +0200 Subject: Fix missing width/height in share iframe --- client/src/assets/player/utils.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client') diff --git a/client/src/assets/player/utils.ts b/client/src/assets/player/utils.ts index cbca1065f..18380d950 100644 --- a/client/src/assets/player/utils.ts +++ b/client/src/assets/player/utils.ts @@ -46,6 +46,8 @@ function buildVideoOrPlaylistEmbed (embedUrl: string, embedTitle: string) { const iframe = document.createElement('iframe') iframe.title = embedTitle + iframe.width = '560' + iframe.height = '315' iframe.src = embedUrl iframe.frameBorder = '0' iframe.allowFullscreen = true -- cgit v1.2.3