Ver código fonte

re-encode video, use source tag

Artur Paikin 6 anos atrás
pai
commit
7e30d1711b

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>