From 348ec1b15f18302a44771403e13d25666aaa109f Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Wed, 17 Jan 2024 17:34:35 +0100 Subject: [PATCH] Make ContentFrame allow cross-origin clipboard-write permission --- lms/static/scripts/frontend_apps/components/ContentFrame.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lms/static/scripts/frontend_apps/components/ContentFrame.tsx b/lms/static/scripts/frontend_apps/components/ContentFrame.tsx index 15c4a8234d..6b39d4ef65 100644 --- a/lms/static/scripts/frontend_apps/components/ContentFrame.tsx +++ b/lms/static/scripts/frontend_apps/components/ContentFrame.tsx @@ -17,9 +17,9 @@ export default function ContentFrame({ url, iframeRef }: ContentFrameProps) { // too). // // "autoplay" - Enables Play button to work without first clicking on video - // "clipboard-write" - Used by "Copy transcript" button + // "clipboard-write *" - Used by: Via's video player, the Hypothesis client sidebar // "fullscreen" - Enables full-screen button in player - allow="autoplay; clipboard-write; fullscreen" + allow="autoplay; clipboard-write *; fullscreen" className={classnames( // It's important that this content render full width and grow to fill // available flex space. n.b. It may be rendered together with grading