How can we embed videos that are not from YouTube and Vimeo?

Is there a way to embed a video in a Django project that is not from YouTube and Vimeo. I know there is Django-embed-video, but this only embeds from YouTube and Vimeo. How can we embed a video from a news site or twitter in a Django project?

I’ve never used django-embed-video, but from reading the docs for it, I don’t see where it is specifically limited to those two sources. I get the impression that you can extend it for any source.

You can read the source code in the library to see how they handle those individual backends, and work to figure out what you might need to change to make it effective with a different source.

The best recommendation I can make is try it and see how far you can get.