From dad65b3e4098e5fdf0480512da3ec1e55eb2a378 Mon Sep 17 00:00:00 2001 From: kartikvirendrar Date: Wed, 18 Dec 2024 16:08:43 +0530 Subject: [PATCH] minor change for azure blob video --- backend/video/utils.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/backend/video/utils.py b/backend/video/utils.py index 94bd9f1b..81cb3e1a 100644 --- a/backend/video/utils.py +++ b/backend/video/utils.py @@ -494,8 +494,9 @@ def get_video_func(request): try: if "blob.core.windows.net" in url: - info = ydl.extract_info(url, download=False) - title = info["title"] + # info = ydl.extract_info(url, download=False) + # title = info["title"] + title = "azure blob video" video = VideoFileClip(url) duration = timedelta(seconds=floor(video.duration)) direct_video_url = url