3ec09f7296
PiperOrigin-RevId: 868229512 Change-Id: I790bc08fc8b0745583a2f92d9ee2c5a19ba558ea
12 lines
573 B
HTML
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>
|