aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/ncatalog.html2
-rw-r--r--static/posts.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/static/ncatalog.html b/static/ncatalog.html
index b4e6f76..a57e291 100644
--- a/static/ncatalog.html
+++ b/static/ncatalog.html
@@ -49,7 +49,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 }}'
diff --git a/static/posts.html b/static/posts.html
index 0e381ea..086c5b5 100644
--- a/static/posts.html
+++ b/static/posts.html
@@ -39,7 +39,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;"
@@ -50,7 +50,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 }}'