Fix missing width/height in share iframe

pull/4477/head
Chocobozzz 2021-10-20 09:56:15 +02:00
parent 05c114f5b4
commit 926bf5496f
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 0 deletions

View File

@ -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