Preserve video settings across page loads

This commit is contained in:
Timothy Farrell 2026-06-11 13:19:39 +00:00
parent 40a4b0006b
commit 9d3e6cbb61

View File

@ -424,7 +424,7 @@ def _render_page(
if content_type and content_type.startswith("video"): if content_type and content_type.startswith("video"):
media_element = ( media_element = (
f'<video class="media" src="{img_url}" controls autoplay ' f'<video class="media" src="{img_url}" controls autoplay '
f'loop muted playsinline {data_attrs}></video>' f'loop playsinline {data_attrs}></video>'
) )
else: else:
media_element = ( media_element = (