I'm making a fileserver in flask and html/css. I want to display the saved contents in /gallery route. I wrote the script for displaying images but can't figure out how to do it for videos. Can someone tell how to do it? Getting one frame from the video and then previewing it was my idea but I can't figure out how to implement it. I'm open to other ideas too. Thanks! Continue reading...