Преглед изворни кода

re-encode video, use source tag

Artur Paikin пре 6 година
родитељ
комит
7e30d1711b
2 измењених фајлова са 4 додато и 2 уклоњено
  1. BIN
      website/src/images/uppy-demo-2.mp4
  2. 4 2
      website/themes/uppy/layout/index.ejs

BIN
website/src/images/uppy-demo-2.mp4


+ 4 - 2
website/themes/uppy/layout/index.ejs

@@ -23,8 +23,10 @@
 
   <div class="IndexExample-block">
     <video class="IndexExample-video"
-           src="/images/uppy-demo-2.mp4"
-           autoplay loop muted playsinline></video>
+           autoplay loop muted playsinline>
+      <source src="/images/uppy-demo-2.mp4" type="video/mp4">
+      Your browser does not support the video tag, you can <a href="/images/blog/0.25/link-drop-demo.mp4">download the video</a> to watch it.
+    </video>
     <form id="upload-form">
       <input type="file">
     </form>