File tree Expand file tree Collapse file tree 4 files changed +146
-121
lines changed
Expand file tree Collapse file tree 4 files changed +146
-121
lines changed Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff 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-
Original file line number Diff line number Diff line change @@ -109,7 +109,8 @@ ignore = [
109109 " SLF001" ,
110110 " FBT001" ,
111111 " FBT002" ,
112- " PLR0915"
112+ " PLR0915" ,
113+ " ASYNC240" ,
113114]
114115fixable = [" ALL" ]
115116unfixable = []
You can’t perform that action at this time.
0 commit comments