mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-05 04:29:21 +02:00
Use default preload setting for audio and video
This commit is contained in:
parent
f380371654
commit
4b25567372
|
@ -92,7 +92,7 @@
|
|||
{{if $.Ctx.HideAttachments}}
|
||||
<a href="{{.URL}}" target="_blank"> [audio] </a>
|
||||
{{else}}
|
||||
<audio class="status-audio" controls preload="none">
|
||||
<audio class="status-audio" controls>
|
||||
<source src="{{.URL}}">
|
||||
<a href="{{.URL}}" target="_blank"> [audio] </a>
|
||||
</audio>
|
||||
|
@ -103,7 +103,7 @@
|
|||
<a href="{{.URL}}" target="_blank"> [video] </a>
|
||||
{{else}}
|
||||
<div class="status-video-container">
|
||||
<video class="status-video" controls preload="none">
|
||||
<video class="status-video" controls>
|
||||
<source src="{{.URL}}">
|
||||
<a href="{{.URL}}" target="_blank"> [video] </a>
|
||||
</video>
|
||||
|
|
Loading…
Reference in New Issue