mirror of https://github.com/Chocobozzz/PeerTube
Fix missing width/height in share iframe
parent
05c114f5b4
commit
926bf5496f
|
@ -46,6 +46,8 @@ function buildVideoOrPlaylistEmbed (embedUrl: string, embedTitle: string) {
|
||||||
const iframe = document.createElement('iframe')
|
const iframe = document.createElement('iframe')
|
||||||
|
|
||||||
iframe.title = embedTitle
|
iframe.title = embedTitle
|
||||||
|
iframe.width = '560'
|
||||||
|
iframe.height = '315'
|
||||||
iframe.src = embedUrl
|
iframe.src = embedUrl
|
||||||
iframe.frameBorder = '0'
|
iframe.frameBorder = '0'
|
||||||
iframe.allowFullscreen = true
|
iframe.allowFullscreen = true
|
||||||
|
|
Loading…
Reference in New Issue