Explorar el Código

preload=metadata on videos

George S. Baugh hace 5 años
padre
commit
38a77e2a7d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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>