mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Add allow-forms to video/playlist embed
We need it when the video is password protected
This commit is contained in:
parent
302fd93c49
commit
78e4cc30c5
@ -16,7 +16,7 @@ function buildVideoOrPlaylistEmbed (options: {
|
||||
iframe.src = embedUrl
|
||||
iframe.frameBorder = '0'
|
||||
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) {
|
||||
const wrapper = document.createElement('div')
|
||||
|
Loading…
Reference in New Issue
Block a user