mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-04 20:19:22 +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}}
|
{{if $.Ctx.HideAttachments}}
|
||||||
<a href="{{.URL}}" target="_blank"> [audio] </a>
|
<a href="{{.URL}}" target="_blank"> [audio] </a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<audio class="status-audio" controls preload="none">
|
<audio class="status-audio" controls>
|
||||||
<source src="{{.URL}}">
|
<source src="{{.URL}}">
|
||||||
<a href="{{.URL}}" target="_blank"> [audio] </a>
|
<a href="{{.URL}}" target="_blank"> [audio] </a>
|
||||||
</audio>
|
</audio>
|
||||||
|
@ -103,7 +103,7 @@
|
||||||
<a href="{{.URL}}" target="_blank"> [video] </a>
|
<a href="{{.URL}}" target="_blank"> [video] </a>
|
||||||
{{else}}
|
{{else}}
|
||||||
<div class="status-video-container">
|
<div class="status-video-container">
|
||||||
<video class="status-video" controls preload="none">
|
<video class="status-video" controls>
|
||||||
<source src="{{.URL}}">
|
<source src="{{.URL}}">
|
||||||
<a href="{{.URL}}" target="_blank"> [video] </a>
|
<a href="{{.URL}}" target="_blank"> [video] </a>
|
||||||
</video>
|
</video>
|
||||||
|
|
Loading…
Reference in New Issue