Spaces:
Build error
Build error
app.py
CHANGED
@@ -5,9 +5,9 @@ from IPython.display import YouTubeVideo
|
|
5 |
def display_vid(video):
|
6 |
#https://www.youtube.com/watch?v=smUHQndcmOY&t=425s
|
7 |
#html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")
|
8 |
-
html =
|
9 |
vid = YouTubeVideo('smUHQndcmOY&t=425s')
|
10 |
-
return
|
11 |
|
12 |
def fun(url):
|
13 |
return gr.Video(value=url)
|
|
|
5 |
def display_vid(video):
|
6 |
#https://www.youtube.com/watch?v=smUHQndcmOY&t=425s
|
7 |
#html = HTML("<iframe width='560' height='315' src='https://www.youtube.com/watch?v=smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>")
|
8 |
+
html = <iframe width='560' height='315' src='https://www.youtube.com/embed/smUHQndcmOY&t=425s' frameborder='0' allowfullscreen></iframe>
|
9 |
vid = YouTubeVideo('smUHQndcmOY&t=425s')
|
10 |
+
return html
|
11 |
|
12 |
def fun(url):
|
13 |
return gr.Video(value=url)
|