Fix toggle theme

This commit is contained in:
Will Miao
2025-01-26 23:41:55 +08:00
parent 0c80555cc7
commit 87c64f9b71
3 changed files with 9 additions and 7 deletions

View File

@@ -57,7 +57,7 @@
data-meta="{{ lora.civitai | default({}) | tojson | forceescape }}">
<div class="card-preview">
{% if lora.preview_url.endswith('.mp4') or lora.preview_url.endswith('.webm') %}
<video controls>
<video controls autoplay muted loop>
<source src="{{ '/loras_static/previews/' + lora.preview_url }}" type="video/mp4">
Your browser does not support the video tag.
</video>