summary refs log tree commit diff
path: root/synapse/res/providers.json (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Use oEmbed for YouTube Shorts (#15025)Sandro2023-05-031-0/+13
| | | | | | | | | | | | It seems that YouTube Short previews do not work in some regions, but the oEmbed information for those areas is still valid. This causes YouTube Shorts to always use (only) the oEmbed endpoint which is a minor regression for regions where the URL preview was already working -- some of the additional video metadata is lost. It is not likely that clients are using this today and it is more beneficial to have a limited preview working everywhere than unused metadata in the Open Graph response.
* Fetch images when previewing Twitter URLs. (#11985)AndrewRyanChama2022-02-221-3/+1
| | | | By including "bot" in the User-Agent, which some sites use to decide whether to include additional Open Graph information.
* Allow configuration of the oEmbed URLs. (#10714)Patrick Cloke2021-08-311-0/+17
This adds configuration options (under an `oembed` section) to configure which URLs are matched to use oEmbed for URL previews.