mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
parent
6bc6480cd2
commit
94ca64fd95
@ -82,6 +82,22 @@ OEMBED_ENDPOINTS = {
|
||||
"^http://instagr\\.am/p/.+$",
|
||||
"^http[s]?://(?:www\\.)?instagram\\.com/p/.+$"
|
||||
],
|
||||
"https://www.facebook.com/plugins/video/oembed.{format}": [
|
||||
"^https://(?:www\\.)?facebook\\.com/.+/videos/.+$",
|
||||
"^https://(?:www\\.)?facebook\\.com/video\\.php\\?(?:v|id)=.+$",
|
||||
],
|
||||
"https://www.facebook.com/plugins/post/oembed.{format}": [
|
||||
"^https://(?:www\\.)?facebook\\.com/.+/(?:posts|activity)/.+$",
|
||||
"^https://(?:www\\.)?facebook\\.com/photo\\.php\\?fbid=.+$",
|
||||
"^https://(?:www\\.)?facebook\\.com/(?:photos|questions)/.+$",
|
||||
"^https://(?:www\\.)?facebook\\.com/permalink\\.php\\?story_fbid=.+$",
|
||||
"^https://(?:www\\.)?facebook\\.com/media/set/?\\?set=.+$",
|
||||
"^https://(?:www\\.)?facebook\\.com/notes/.+/.+/.+$",
|
||||
|
||||
# At the moment, not documented on https://developers.facebook.com/docs/plugins/oembed-endpoints
|
||||
# Works for posts with a single photo
|
||||
"^https://(?:www\\.)?facebook\\.com/.+/photos/.+$",
|
||||
],
|
||||
"https://www.slideshare.net/api/oembed/2": [
|
||||
"^http://www\\.slideshare\\.net/.+$"
|
||||
],
|
||||
|
Loading…
Reference in New Issue
Block a user