slimshadow commited on
Commit
4980804
·
verified ·
1 Parent(s): a38568b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -30,7 +30,8 @@ if query:
30
 
31
  if embed_url:
32
  st.write(f"Playing: {selected_title}")
33
- st.video(embed_url)
 
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: