aboutsummaryrefslogtreecommitdiff
path: root/static/posts.html
diff options
context:
space:
mode:
authorFChannel <=>2021-02-02 23:28:35 -0800
committerFChannel <=>2021-02-02 23:28:35 -0800
commit3e42ce191ed9a72ed8aa69ee7819a20bb4d23048 (patch)
tree7c5427161376bd6e2f18ccf4b92fd6af2ae24fc9 /static/posts.html
parentea664188aa26a55b31c5b789cb4a98e33af7fc99 (diff)
added rules.html and faq.html change to fit your own instance specs.
Diffstat (limited to 'static/posts.html')
-rw-r--r--static/posts.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/static/posts.html b/static/posts.html
index 086c5b5..6bdc7b5 100644
--- a/static/posts.html
+++ b/static/posts.html
@@ -105,7 +105,7 @@
if(getMIMEType({{ (index .Attachment 0).MediaType }}) == "audio"){
var audio = document.createElement("audio")
audio.controls = 'controls'
- audio.preload = 'metadata'
+ audio.preload = 'none'
audio.src = '{{ (index .Attachment 0).Href }}'
audio.type = '{{ (index .Attachment 0).MediaType }}'
audio.style = "float: left; margin-right: 10px; margin-bottom: 10px; width: 250px;"
@@ -116,7 +116,7 @@
if(getMIMEType({{ (index .Attachment 0).MediaType }}) == "video"){
var video = document.createElement("video")
video.controls = 'controls'
- video.preload = 'metadata'
+ video.preload = 'none'
video.muted = 'muted'
video.src = '{{ (index .Attachment 0).Href }}'
video.type = '{{ (index .Attachment 0).MediaType }}'