Sfoglia il codice sorgente

preload=metadata on videos

George S. Baugh 5 anni fa
parent
commit
38a77e2a7d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      www/templates/posts.tx

+ 1 - 1
www/templates/posts.tx

@@ -22,7 +22,7 @@
         <a href="<: $route :>/<: $post.id :>" class="tile">
         : }
         : if ($post.is_video) {
-            <video class="responsive" controls poster="<: $post.preview :>" >
+            <video preload="metadata" class="responsive" controls poster="<: $post.preview :>" >
                 <source src="<: $post.href :>" type="<: $post.content_type :>" />
                 Your browser does not support the video tag.
             </video>