Skip to content

Commit 2b9c566

Browse files
committed
chore: external packages update
1 parent de0d594 commit 2b9c566

File tree

4 files changed

+146
-121
lines changed

4 files changed

+146
-121
lines changed

backend/app/templates/share_preview.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -295,12 +295,12 @@
295295
<body>
296296
{% if is_user %}
297297
{% if is_video %}
298-
<video class="fullscreen" controls autoplay preload="metadata" playsinline>
298+
<video class="fullscreen" controls autoplay preload="auto" playsinline>
299299
<source src="{{ media_url }}" mime="{{ mime_type }}" />
300300
Your browser does not support the video tag.
301301
</video>
302302
{% elif is_audio %}
303-
<audio class="fullscreen" controls autoplay preload="metadata">
303+
<audio class="fullscreen" controls autoplay preload="auto" playsinline>
304304
<source src="{{ media_url }}" mime="{{ mime_type }}" />
305305
Your browser does not support the audio tag.
306306
</audio>
@@ -322,7 +322,7 @@ <h1>{{ title }}</h1>
322322
Your browser does not support the video tag.
323323
</video>
324324
{% elif is_audio %}
325-
<audio controls preload="metadata">
325+
<audio controls autoplay preload="metadata" playsinline>
326326
<source src="{{ media_url }}" mime="{{ mime_type }}" />
327327
Your browser does not support the audio tag.
328328
</audio>

backend/tests/test_share_view.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,4 +178,3 @@ async def test_token_embed_page_renders_preview_for_public_token(client):
178178
html_content = response.text
179179
assert "og:video" in html_content or "og:type" in html_content, "Embed page should include OpenGraph video metadata"
180180
assert "sample.mp4" in html_content, "Embed page should include video filename"
181-

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ ignore = [
109109
"SLF001",
110110
"FBT001",
111111
"FBT002",
112-
"PLR0915"
112+
"PLR0915",
113+
"ASYNC240",
113114
]
114115
fixable = ["ALL"]
115116
unfixable = []

0 commit comments

Comments
 (0)