Procházet zdrojové kódy

preload=metadata on videos

George S. Baugh před 5 roky
rodič
revize
38a77e2a7d
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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>