Spaces:
Sleeping
Sleeping
embed_url = f"https://www.youtube.com/embed/{video_id}?start={int_start_time}&autoplay=1"
Browse files
app.py
CHANGED
|
@@ -375,7 +375,8 @@ def format_transcript_to_html(formatted_transcript):
|
|
| 375 |
|
| 376 |
|
| 377 |
def get_embedded_youtube_link(video_id, start_time):
|
| 378 |
-
|
|
|
|
| 379 |
return embed_url
|
| 380 |
|
| 381 |
def download_youtube_video(youtube_id, output_path=OUTPUT_PATH):
|
|
|
|
| 375 |
|
| 376 |
|
| 377 |
def get_embedded_youtube_link(video_id, start_time):
|
| 378 |
+
int_start_time = int(start_time)
|
| 379 |
+
embed_url = f"https://www.youtube.com/embed/{video_id}?start={int_start_time}&autoplay=1"
|
| 380 |
return embed_url
|
| 381 |
|
| 382 |
def download_youtube_video(youtube_id, output_path=OUTPUT_PATH):
|