Use default preload setting for audio and video
authorr <r@freesoftwareextremist.com>
Sun, 3 May 2020 07:01:34 +0000 (07:01 +0000)
committerr <r@freesoftwareextremist.com>
Sun, 3 May 2020 07:01:34 +0000 (07:01 +0000)
templates/status.tmpl

index 6433b9c70fba51b057aeaa983479690df111ca3a..c817da2b8aca0402ea04037e51d9c7ffa83ed624 100644 (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>
                                <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>