Use default preload setting for audio and video

This commit is contained in:
r 2020-05-03 07:01:34 +00:00
parent f380371654
commit 4b25567372
1 changed files with 2 additions and 2 deletions

View File

@ -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>