Django video embedding is a Python-Django library to have custom VideoField in models and custom VideoForm in forms.
Use the package manager pip to install:
pip install django-video-embedding
[settings.py]
INSTALLED_APPS = (
'django_video_embedding',
)
[models.py]
from django_embedding_video.fields import VideoField
class Item(models.Model):
video = VideoField() # same like models.URLField()
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.