I am streaming a local video in a Django Response using StreamingHttpResponse and this code, but I am not sure how can I loop the video so it replays after finishing.
Asked
Active
Viewed 52 times
0
-
You are not able to control this since `StreamingHttpResponse` delivers the video directly to the browser. You can achieve this by delivering the video via a HTML page. Check this for looping the video: https://stackoverflow.com/a/10415231/4151233 – Marco Jan 07 '22 at 00:16