Skip to content

Commit d304c35

Browse files
14mRh4X0rjryans
authored andcommitted
Allow widgets to autoplay media
This is useful for e.g. webcam streams in widgets. Signed-off-by: Willem Mulder <willemmaster@hotmail.com>
1 parent 7ed9559 commit d304c35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/views/elements/AppTile.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -544,7 +544,7 @@ export default class AppTile extends React.Component {
544544

545545
// Additional iframe feature pemissions
546546
// (see - https://sites.google.com/a/chromium.org/dev/Home/chromium-security/deprecating-permissions-in-cross-origin-iframes and https://wicg.github.io/feature-policy/)
547-
const iframeFeatures = "microphone; camera; encrypted-media;";
547+
const iframeFeatures = "microphone; camera; encrypted-media; autoplay;";
548548

549549
const appTileBodyClass = 'mx_AppTileBody' + (this.props.miniMode ? '_mini ' : ' ');
550550

0 commit comments

Comments
 (0)