瀏覽代碼

Upgrade to release v2.3.0

Kartik Visweswaran 10 年之前
父節點
當前提交
cfa7d60ab0
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 3 3
      README.md
  2. 1 1
      js/fileinput.js

+ 3 - 3
README.md

@@ -35,9 +35,9 @@ An enhanced HTML 5 file input for Bootstrap 3.x with file preview for images and
 13. Disabled and readonly file input support.
 13. Disabled and readonly file input support.
 14. Size of the entire plugin is less than 6KB if gzipped. The minified assets are less than 21KB (about 18KB for the minified JS and 3KB for the minified CSS).
 14. Size of the entire plugin is less than 6KB if gzipped. The minified assets are less than 21KB (about 18KB for the minified JS and 3KB for the minified CSS).
 
 
-> **Note:** With release v2.3.0, the plugin now supports preview of flash and video files. Flash preview will require Shockwave flash to be installed and supported by the client browser.
-Videos will be previewed using the new HTML5 `video` tag. Note that browsers have limited support for the HTML5 `video` element including specific video 
-formats (e.g. mp4, webm, ogg). The size of video files are recommended to be small (controlled through `maxFileSize` property) for not affecting your 
+> **Note:** With release v2.3.0, the plugin now supports preview of flash and video files. Flash preview will require Shockwave flash to be installed and supported by the client browser. 
+The flash preview currently works successfully with webkit browsers due to the local url creation support. Videos are however supported by all modern browsers and 
+that support the HTML5 `video` tag. Note that browsers have limited number of video formats supported by the HTML5 video element (e.g. mp4, webm, ogg). The size of video files are recommended to be small (controlled through `maxFileSize` property) for not affecting your 
 browser preview performance. You can copy a few files from the `examples` directory of this plugin repo, to test a few examples of flash and video files.
 browser preview performance. You can copy a few files from the `examples` directory of this plugin repo, to test a few examples of flash and video files.
 
 
 ## Demo
 ## Demo

+ 1 - 1
js/fileinput.js

@@ -69,7 +69,7 @@
             '       <param name="quality" value="high" />\n' +
             '       <param name="quality" value="high" />\n' +
             '   </object>\n' +
             '   </object>\n' +
             '</div>\n',
             '</div>\n',
-
+            
         VIDEO_TEMPLATE = '<div class="file-preview-frame" id="{previewId}" title="{caption}">\n' +
         VIDEO_TEMPLATE = '<div class="file-preview-frame" id="{previewId}" title="{caption}">\n' +
             '   <video width="320" height="240" controls>\n' +
             '   <video width="320" height="240" controls>\n' +
             '       <source src="{media}" type="{type}">\n' +
             '       <source src="{media}" type="{type}">\n' +