Spaces:
Running
Running
Commit
·
609f3a5
1
Parent(s):
292e62f
Minor
Browse files
app.py
CHANGED
@@ -243,12 +243,14 @@ def get_video_html(data, video_id, width=700, height=700):
|
|
243 |
# <div class="contour_video" style="position: absolute; padding: 10px;">
|
244 |
# width="{width}" height="{height}"
|
245 |
video_html = f"""
|
|
|
|
|
|
|
246 |
<video class="generate_video" width="{width}" height="{height}" style="center" preload="auto" muted playsinline onpause="this.load()"
|
247 |
autoplay loop disablepictureinpicture id="{video_id}">
|
248 |
<source src="file/{url}" type="video/mp4">
|
249 |
Your browser does not support the video tag.
|
250 |
</video>
|
251 |
-
<a href="file/{pjoin(animation_path, "sample_repeat0.bvh")}" download="sample.bvh"><b>BVH Download</b></a>
|
252 |
"""
|
253 |
return video_html
|
254 |
|
|
|
243 |
# <div class="contour_video" style="position: absolute; padding: 10px;">
|
244 |
# width="{width}" height="{height}"
|
245 |
video_html = f"""
|
246 |
+
<h2 style='text-align: center'>
|
247 |
+
<a href="file/{pjoin(animation_path, "sample_repeat0.bvh")}" download="sample.bvh"><b>BVH Download</b></a>
|
248 |
+
</h2>
|
249 |
<video class="generate_video" width="{width}" height="{height}" style="center" preload="auto" muted playsinline onpause="this.load()"
|
250 |
autoplay loop disablepictureinpicture id="{video_id}">
|
251 |
<source src="file/{url}" type="video/mp4">
|
252 |
Your browser does not support the video tag.
|
253 |
</video>
|
|
|
254 |
"""
|
255 |
return video_html
|
256 |
|