Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,7 +30,8 @@ if query:
|
|
| 30 |
|
| 31 |
if embed_url:
|
| 32 |
st.write(f"Playing: {selected_title}")
|
| 33 |
-
|
|
|
|
| 34 |
else:
|
| 35 |
st.write("Embed URL not available for this video.")
|
| 36 |
else:
|
|
|
|
| 30 |
|
| 31 |
if embed_url:
|
| 32 |
st.write(f"Playing: {selected_title}")
|
| 33 |
+
# Embed the video using an iframe
|
| 34 |
+
st.components.v1.iframe(embed_url, width=640, height=360)
|
| 35 |
else:
|
| 36 |
st.write("Embed URL not available for this video.")
|
| 37 |
else:
|