Add allow-forms to video/playlist embed

We need it when the video is password protected
pull/6288/head
Chocobozzz 2024-03-19 15:27:59 +01:00
parent 302fd93c49
commit 78e4cc30c5
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

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