Preserve video settings across page loads
This commit is contained in:
parent
40a4b0006b
commit
9d3e6cbb61
2
main.py
2
main.py
@ -424,7 +424,7 @@ def _render_page(
|
||||
if content_type and content_type.startswith("video"):
|
||||
media_element = (
|
||||
f'<video class="media" src="{img_url}" controls autoplay '
|
||||
f'loop muted playsinline {data_attrs}></video>'
|
||||
f'loop playsinline {data_attrs}></video>'
|
||||
)
|
||||
else:
|
||||
media_element = (
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user