7
7
8
8
9
9
Support
10
- * Multiupload: all browsers that support HTML5 or Flash
10
+ * Multiupload: all browsers that support HTML5 or [ Flash](#flash-settings)
11
11
* Drag'n'Drop upload: files (HTML5) & directories (Chrome 21+)
12
12
* Upload one file: all browsers
13
13
* Working with Images: IE6+, FF 3.6+, Chrome 10+, Opera 11.1+, Safari 5.4+
@@ -161,6 +161,13 @@ FileAPI.event.on(input, 'change', function (evt){
161
161
* FileAPI.toBinaryString(`str:Base64`)`:String`
162
162
163
163
164
+ <a name="flash-settings"></a>
165
+ ### Flash settings
166
+ ```html
167
+ <script>var FileAPI = { staticPath = '/js/' };</script>
168
+ <script src="/js/FileAPI.min.js"></script>
169
+ ```
170
+
164
171
165
172
---------------------------------------
166
173
@@ -419,7 +426,7 @@ imageTransform: {
419
426
if( ctx && ctx[jsonp] ){
420
427
ctx[jsonp](<?=$statusCode/*200 — OK*/?>, "<?=addslashes($statusText)?>", "<?=addslashes($response)?>");
421
428
}
422
- })(this.parent, ' <?=$_POST['callback']?>' );
429
+ })(this.parent, " <?=htmlspecialchars( $_POST['callback'])?>" );
423
430
</script>
424
431
```
425
432
@@ -432,9 +439,9 @@ imageTransform: {
432
439
<a name="html-default"></a>
433
440
### Default
434
441
```html
435
- <div class="js-fileapi-wrapper" style="position: relative">
442
+ <span class="js-fileapi-wrapper" style="position: relative; display: inline-block; ">
436
443
<input name="files" type="file" multiple />
437
- </div >
444
+ </span >
438
445
```
439
446
440
447
0 commit comments