icosa-foundation / icosa-gallery

Icosa Gallery is a 3D model hosting solution, intended as a replacement for Google's Poly
https://icosa.gallery
5 stars 0 forks source link

oEmbed endpoint #12

Open andybak opened 3 weeks ago

andybak commented 3 weeks ago

Docs: https://oembed.com/

Examples:

https://sketchfab.com/oembed?format=json&url=https://sketchfab.com/3d-models/postbirb-diorama-4e44267561304408852799942a1f9a9a

https://www.flickr.com/services/oembed/?format=json&url=http%3A//www.flickr.com/photos/bees/2341623661/

andybak commented 3 weeks ago

A nice source for other examples: https://github.com/wagtail/wagtail/blob/main/wagtail/embeds/oembed_providers.py

andybak commented 3 weeks ago

https://pypi.org/project/python-oembed/

https://github.com/ericflo/django-oembed

andybak commented 1 week ago

I've done a minimal version of this. Still lacks the final embedded view and a few TODOs around width, height and thumbnails