mirror of
https://mau.dev/maunium/synapse.git
synced 2024-08-24 03:05:48 +00:00
![]() Synapse doesn’t allow for media resources to be played directly from Chrome. It is a problem for users on other networks (e.g. IRC) communicating with Matrix users through a gateway. The gateway sends them the raw URL for the resource when a Matrix user uploads a video and the video cannot be played directly in Chrome using that URL. Chrome argues it is not authorized to play the video because of the Content Security Policy. Chrome checks for the "media-src" policy which is missing, and defauts to the "default-src" policy which is "none". As Synapse already sends "object-src: 'self'" I thought it wouldn’t be a problem to add "media-src: 'self'" to the CSP to fix this problem. |
||
---|---|---|
.. | ||
.gitignore | ||
3578.bugfix | ||
3699.misc | ||
3868.bugfix | ||
3873.misc | ||
3879.bugfix | ||
3883.feature | ||
3889.bugfix | ||
3892.bugfix | ||
3894.feature | ||
3895.bugfix | ||
3897.misc | ||
3899.bugfix | ||
3903.misc | ||
3904.misc | ||
3906.misc | ||
3907.bugfix | ||
3908.bugfix | ||
3909.misc | ||
3910.bugfix | ||
3912.misc | ||
3914.bugfix | ||
3916.feature | ||
3925.misc | ||
3927.misc | ||
3936.bugfix | ||
3947.misc |