Files
Mujoco_WASM/python/mujoco/sysid/report/templates/video.html
T
Copybara-Service 3ec09f7296 Merge pull request #3079 from aftersomemath:sysid-pr
PiperOrigin-RevId: 868229512
Change-Id: I790bc08fc8b0745583a2f92d9ee2c5a19ba558ea
2026-02-10 11:04:12 -08:00

12 lines
573 B
HTML

<div style="text-align: center; margin: 20px 0;">
<video src="{{ video_filepath }}" width="{{ width }}" height="{{ height }}" {{ controls }} {{ autoplay }} {{ muted
}} {{ loop }} preload="metadata" style="max-width: 100%; height: auto;">
Your browser does not support the video tag.
<a href="{{ video_filepath }}" target="_blank">Download the video here.</a>
</video>
{% if caption %}
<p style="margin-top: 10px; font-size: 0.9em; color: var(--text-muted);" class="video-caption">{{ caption | safe }}
</p>
{% endif %}
</div>