mirror of
https://github.com/wagtail/wagtail.git
synced 2024-12-01 11:41:20 +01:00
Add more SketchFab oEmbed patterns
The /models pattern is what is documented in the Sketchfab oEmbed docs. The /3d-models pattern is what you'd get by copying and pasting the URL from browsing the site. https://sketchfab.com/developers/oembed
This commit is contained in:
parent
660b00b7a6
commit
344dfcf02b
@ -5,6 +5,7 @@ Changelog
|
||||
~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Added Aging Pages report (Tidjani Dia)
|
||||
* Add more SketchFab oEmbed patterns for models (Tom Usher)
|
||||
|
||||
|
||||
2.15.1 (11.11.2021)
|
||||
|
@ -12,6 +12,7 @@
|
||||
### Other features
|
||||
|
||||
* Added Aging Pages report (Tidjani Dia)
|
||||
* Add more SketchFab oEmbed patterns for models (Tom Usher)
|
||||
|
||||
|
||||
### Bug fixes
|
||||
|
@ -545,6 +545,8 @@ sketchfab = {
|
||||
"endpoint": "https://sketchfab.com/oembed",
|
||||
"urls": [
|
||||
r'^https?://sketchfab\.com/show/.+$',
|
||||
r'^https?://sketchfab\.com/models/.+$',
|
||||
r'^https?://sketchfab\.com/3d-models/.+$',
|
||||
],
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user