Closed nicolochiellini closed 5 years ago
Hello @nicolochiellini, and thank you for your contribution!
I think that this backend would best be suited to be developed as a separate application, since that would allow for more flexibility and open mindedness as compared to merging it to the core django-embed-video
project.
The django-embed-video
API enables you to easily integrate this into the video setup from a separate Django application, just add the backend into the EMBED_VIDEO_BACKENDS
iterable in your Django project settings.
https://django-embed-video.readthedocs.io/en/v1.2.0/examples.html#custom-backends
I have added a basic support to Pornhub Video Embedding. No Thumbnail available but Embed URL and Video Size are present. Just add PornhubBackend to EMBED_VIDEO_BACKENDS