ソースを参照

fix html5 video src

Riccardo Balbo 4 年 前
コミット
f42a9b62a1
1 ファイル変更1 行追加1 行削除
  1. 1 1
      layouts/partials/showCaseCommon.html

+ 1 - 1
layouts/partials/showCaseCommon.html

@@ -9,7 +9,7 @@
                     frameborder="0" allow="accelerometer; autoplay;  encrypted-media; gyroscope; fullscreen"></iframe>
                 {{ else if (strings.HasSuffix . ".webm" ) }}
                   <video class="showcaseElement cover"  style='display:{{ if not $index }} block  {{else}} none {{end}} '  autoplay loop muted class="cover">
-                    <source lazy="true" lazy-src=" {{ safeURL .}}" type="video/webm">
+                    <source lazy="true" lazy-src="{{ safeURL .}}" type="video/webm">
                   </video>
                 {{ else if (strings.HasSuffix . ".mp4" ) }}
                     <video  class="showcaseElement cover"   style='display:{{ if not $index }} block  {{else}} none {{end}} '  autoplay loop muted class="cover">