Update app.py
Browse files
app.py
CHANGED
@@ -467,7 +467,7 @@ elif video_url:
|
|
467 |
if video_display_url:
|
468 |
st.markdown(f"### 🎬 {video_title}") # Show video title
|
469 |
if video_thumbnail:
|
470 |
-
st.image(video_thumbnail, caption="Video Thumbnail", width=
|
471 |
st.markdown(
|
472 |
f"""
|
473 |
<video controls width="300">
|
|
|
467 |
if video_display_url:
|
468 |
st.markdown(f"### 🎬 {video_title}") # Show video title
|
469 |
if video_thumbnail:
|
470 |
+
st.image(video_thumbnail, caption="Video Thumbnail", width=300) # Show thumbnail for YouTube videos
|
471 |
st.markdown(
|
472 |
f"""
|
473 |
<video controls width="300">
|