Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Add allow-forms to video/playlist embed

Chocobozzz78e4cc30c535
diff --git a/client/src/root-helpers/video.ts b/client/src/root-helpers/video.ts
index eec00ce0ef..4b1a5b51b5 100644
--- a/client/src/root-helpers/video.ts
+++ b/client/src/root-helpers/video.ts
@@ -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')