I am displaying my videos in my django site. I want to display those video like thumbnails, but I don't know how to create thumbnails for my videos. I have stored my videos through admin module. here is my code
models.py
class Video(models.Model):
title = models.CharField(max_length=200, null=True, blank=True)
video = models.FileField(upload_to='static/gallery/videos',
null=False,
help_text=_("video file")
)
admin.py
from django.contrib import admin
from .models import Video
admin.site.register(Video)
Any one help me for how to store my video thumbnails format in db or how to display my retrieved videos in thumbnail format.
Thanks in advance