Browse Source

Fix #802: Allow MOV files preview for supported devices and browsers

Kartik Visweswaran 8 years ago
parent
commit
2c771588e8
3 changed files with 5 additions and 2 deletions
  1. 3 0
      CHANGE.md
  2. 2 2
      js/fileinput.js
  3. 0 0
      js/fileinput.min.js

+ 3 - 0
CHANGE.md

@@ -21,6 +21,9 @@ Change Log: `bootstrap-fileinput`
 8. (enh #791): Auto orientation of images based on EXIF data.
 9. (enh #799): Fix IE memory issue on image load.
 10. (enh #800): Update Spanish Translations.
+11. (enh #802): Allow MOV files preview for supported devices and browsers.
+12. (enh #803): Update Hungarian Translations.
+13. (enh #804): Add Slovenian Translations.
 
 ## version 4.3.5
 

+ 2 - 2
js/fileinput.js

@@ -482,8 +482,8 @@
                 compare(vName, /\.(txt|md|csv|nfo|ini|json|php|js|css)$/i);
         },
         video: function (vType, vName) {
-            return compare(vType, 'video.*') && (compare(vType, /(ogg|mp4|mp?g|webm|3gp)$/i) ||
-                compare(vName, /\.(og?|mp4|webm|mp?g|3gp)$/i));
+            return compare(vType, 'video.*') && (compare(vType, /(ogg|mp4|mp?g|mov|webm|3gp)$/i) ||
+                compare(vName, /\.(og?|mp4|webm|mp?g|mov|3gp)$/i));
         },
         audio: function (vType, vName) {
             return compare(vType, 'audio.*') && (compare(vName, /(ogg|mp3|mp?g|wav)$/i) ||

File diff suppressed because it is too large
+ 0 - 0
js/fileinput.min.js


Some files were not shown because too many files changed in this diff