Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Use oEmbed for YouTube Shorts #15025

Merged
merged 3 commits into from
May 3, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/15025.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add oembed providers for youtube shorts.
clokep marked this conversation as resolved.
Show resolved Hide resolved
13 changes: 13 additions & 0 deletions synapse/res/providers.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,18 @@
"url": "https://publish.twitter.com/oembed"
}
]
},
{
"provider_name": "YouTube Shorts",
"provider_url": "http://www.youtube.com/",
"endpoints": [
{
"schemes": [
"https://youtube.com/shorts/*",
"https://*.youtube.com/shorts/*"
],
"url": "https://www.youtube.com/oembed"
}
]
}
]