Existance commited on
Commit
698b921
1 Parent(s): f969e93

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import gradio as gr
3
  def return_yt_html_embed(yt_url):
4
  video_id = yt_url.split("?v=")[-1]
5
  HTML_str = (
6
- f'<center> <iframe width="500" height="320" src="https://www.youtube.com/embed/{video_id}"> </iframe>'
7
  " </center>"
8
  )
9
  return HTML_str
 
3
  def return_yt_html_embed(yt_url):
4
  video_id = yt_url.split("?v=")[-1]
5
  HTML_str = (
6
+ f'<center> <iframe allowfullscreen width="500" height="320" src="https://www.youtube.com/embed/{video_id}"> </iframe>'
7
  " </center>"
8
  )
9
  return HTML_str