Fix missing width/height in share iframe
This commit is contained in:
parent
05c114f5b4
commit
926bf5496f
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue