Skip to content

Commit

Permalink
Make ContentFrame allow cross-origin clipboard-write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
acelaya committed Jan 17, 2024
1 parent 8bf0b29 commit 68ed803
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lms/static/scripts/frontend_apps/components/ContentFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 to copy YouTube transcripts and exported annotations, cross-origin
// "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
Expand Down

0 comments on commit 68ed803

Please sign in to comment.