Step by step instructions to reproduce the behavior:
Add a custom widget with a navigator.getUserMedia call.
The call fails.
Expected behavior
The call should not fail.
Describe the bug
The hosted widget runs inside an iframe inside an iframe. The inner iframe is provided by dimension. That iframe does not have the same permissions as the outer iframe.
To Reproduce
Step by step instructions to reproduce the behavior:
Expected behavior
The call should not fail.
Describe the bug
The hosted widget runs inside an iframe inside an iframe. The inner iframe is provided by dimension. That iframe does not have the same permissions as the outer iframe.
Details
The inner iframe that misses the permissions.
The outer iframe that is provided by riot:
this has the iframe properties;
allow="microphone; camera; encrypted-media; autoplay; display-capture;"
Version of Node.js: v10.16.0
Server Operating System: Docker image sha256:ae424db3dc6c734855461661586361bd7da4cbaa875bf352de988ac274b33e72 (turt2live/matrix-dimension)