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:
committed by
Braden MacDonald
parent
e505f78cfb
commit
4a80532b8d
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user