kopia lustrzana https://github.com/wagtail/wagtail
rodzic
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/.+$"
|
||||
],
|
||||
|
|
Ładowanie…
Reference in New Issue