fix: update iframe feature policy

This is needed to fix Xblock video play button not working in Chrome for youtube videos due to iframe security policy.
This commit is contained in:
Abdur Rahman Asad
2024-12-12 01:50:41 +05:00
committed by Braden MacDonald
parent e505f78cfb
commit 4a80532b8d

View File

@@ -20,7 +20,7 @@ import * as hooks from './hooks';
* Changes to it should be vetted by them (security@edx.org).
*/
export const IFRAME_FEATURE_POLICY = (
'microphone *; camera *; midi *; geolocation *; encrypted-media *; clipboard-write *'
'microphone *; camera *; midi *; geolocation *; encrypted-media *; clipboard-write *; autoplay *'
);
export const testIDs = StrictDict({