Allow configuration of the oEmbed URLs. (#10714)
This adds configuration options (under an `oembed` section) to configure which URLs are matched to use oEmbed for URL previews.
Showing
- changelog.d/10714.feature 1 addition, 0 deletionschangelog.d/10714.feature
- docs/sample_config.yaml 21 additions, 0 deletionsdocs/sample_config.yaml
- synapse/config/homeserver.py 2 additions, 0 deletionssynapse/config/homeserver.py
- synapse/config/oembed.py 180 additions, 0 deletionssynapse/config/oembed.py
- synapse/res/providers.json 17 additions, 0 deletionssynapse/res/providers.json
- synapse/rest/media/v1/oembed.py 135 additions, 0 deletionssynapse/rest/media/v1/oembed.py
- synapse/rest/media/v1/preview_url_resource.py 5 additions, 142 deletionssynapse/rest/media/v1/preview_url_resource.py
- tests/rest/media/v1/test_url_preview.py 102 additions, 110 deletionstests/rest/media/v1/test_url_preview.py
Loading
Please register or sign in to comment