mirror of https://github.com/Chocobozzz/PeerTube
Add allow-forms to video/playlist embed
We need it when the video is password protectedpull/6288/head
parent
302fd93c49
commit
78e4cc30c5
|
@ -16,7 +16,7 @@ function buildVideoOrPlaylistEmbed (options: {
|
||||||
iframe.src = embedUrl
|
iframe.src = embedUrl
|
||||||
iframe.frameBorder = '0'
|
iframe.frameBorder = '0'
|
||||||
iframe.allowFullscreen = true
|
iframe.allowFullscreen = true
|
||||||
iframe.sandbox.add('allow-same-origin', 'allow-scripts', 'allow-popups')
|
iframe.sandbox.add('allow-same-origin', 'allow-scripts', 'allow-popups', 'allow-forms')
|
||||||
|
|
||||||
if (responsive) {
|
if (responsive) {
|
||||||
const wrapper = document.createElement('div')
|
const wrapper = document.createElement('div')
|
||||||
|
|
Loading…
Reference in New Issue