0
0
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:
Tom Usher 2021-10-21 16:03:56 +01:00 committed by LB (Ben Johnston)
parent 660b00b7a6
commit 344dfcf02b
3 changed files with 4 additions and 0 deletions

View File

@ -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)

View File

@ -12,6 +12,7 @@
### Other features
* Added Aging Pages report (Tidjani Dia)
* Add more SketchFab oEmbed patterns for models (Tom Usher)
### Bug fixes

View File

@ -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/.+$',
],
}