1

Topic: video file upload error, preview doc file error.

hi ,

1) i have configured file manager uploader to upload flv files. it uploads those files which is less than 5mb but more than that it shows an io error.
the max size for upload is 10 mb.

2) how can we preview doc, doc, xls, xlsx and video files? when i click on the any file type specified earlier it gives me a download window. how do we stop that and preview word and excel file?

3) the file preview window previews image partially and leaves some place empty on the bottom side of the preview box. whats is the remedy? i want to fulfill the box with whole image.

2

Re: video file upload error, preview doc file error.

1) How large is the flv files?
2) The filemanager has a config option for what files to preview and what files to now preview. But it should preview everything that the browser supports by default. So if the browser doesn't support doc it will download it. This is not something we can fix since it's a browser/office setting.
3) The browser does the auto scaling the image is just opened inside the iframe. The product needs to be modified to load a HTML file with an img tag if you want different behavior.

Best regards,
Spocke - Main developer of TinyMCE

3

Re: video file upload error, preview doc file error.

the size of the flv file is 9.75 mb.

4

Re: video file upload error, preview doc file error.

qamar wrote:

9.75 mb.

This might fail because of a "post_max_size" setting in your webserver's PHP settings (default is "8M"). Please check your PHP settings (or ask your hosting partner) to confirm.

Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

5

Re: video file upload error, preview doc file error.

i am using asp.net not php

6

Re: video file upload error, preview doc file error.

I'm sorry. My mistake. But as I'm not familiar with asp.net programming I wouldn't know if a similar restriction exists in asp.net which you might need to check.

Greetings from Germany,

Felix Riesterer.
(-> about me and this forum <-)

7

Re: video file upload error, preview doc file error.

yeah i solved it by overriding the default upload size from 4 mb to 10 mb. just add the following entry under system.web of web.config file

<httpRuntime executionTimeout="240" maxRequestLength="20480" />

Please read the following article if someone has such problems

http://weblogs.asp.net/jgalloway/archiv … p-net.aspx

8

Re: video file upload error, preview doc file error.

Nice that you where able to solve this one.

Best regards,
Spocke - Main developer of TinyMCE

9

Re: video file upload error, preview doc file error.

i'm so confuse here about what do you mean with "by overriding the default upload size from 4 mb to 10 mb"

10

Re: video file upload error, preview doc file error.

Change the web.config section as described above to increase the upload size.

Best regards,
Spocke - Main developer of TinyMCE

11

Re: video file upload error, preview doc file error.

i am unable to upload 9 mb file , it is giving me the same error but the size it says min is 10 mb .

12

Re: video file upload error, preview doc file error.

did you update you web config file?
you need to add the following key in your web.config

<httpRuntime executionTimeout="240" maxRequestLength="20480" />

just copy and paste.........