Differences between Firefox and IE with Flash and IFrame

Last post 12-12-2012, 11:15 AM by Wompi. 2 replies.
Sort Posts: Previous Next
  •  12-12-2012, 7:17 AM 75449

    Differences between Firefox and IE with Flash and IFrame

    Hi,

     

    we experienced some differences with IE and Firefox with Flash. If I upload a file with IE the upload speed is half as fast as the upload speed with Firefox. I also can reproduce this with your demo for big file uploads.

    If we set the AjaxUploader to IFrame, the speed is almost the same.

    We dont have Silverlight installed.

    The problem with IFrame is, that we want to calculate and show our own progress in the CuteWebUI_AjaxUploader_OnProgress function but this does not work in IE with IFrame mode. Strangely enough in Firefox this is even working if I set the Uploader to IFrame and disable the Flash Addon.

     

    Another thing is that with IE the calculation of the progress takes more time until it shows up after the upload starts and the time between the progress refresh is higher than with Firefox.

     

    Does the IE have problems with handling flash?

    We have IE 9 latest version and Flash 11.5

     

    Thank you

    Mark

     

     

  •  12-12-2012, 7:54 AM 75453 in reply to 75449

    Re: Differences between Firefox and IE with Flash and IFrame

    Hi,

     

    In firefox , the IFrame mode will be converted to HTML5 mode , so you can get the progress information.

     

    IE can't do that because the IE9 do not support the file API

     

    For you case , the IE+Flash may cause some errors, and it will translate to AJAX mode.

     

    You can append ?UploaderDebug=1 to get debug information

     

    Regards,
    Terry

     

     

     

  •  12-12-2012, 11:15 AM 75454 in reply to 75453

    Re: Differences between Firefox and IE with Flash and IFrame

    Hi,

     

    thanks a lot for the information.

    FF was so fast because it switched, like you said, to html5, but if I set the uploader type only to flash then FF isn't faster than IE.

    The problem seems to be the HTTPS connection + Flash. If I use only http then the full bandwidth is used, but with https IE and FF with Flash are slow.

     

    Here is the debug output.

    INFO ScriptVersion ,20121113-01
    INFO UploadType/addontype,Flash/Flash
    BEGIN event initialize
    END event initialize
    INFO set flash load mode for SSL
    BEGIN event browse
    END event browse,true
    BEGIN event flash select
    END event flash select,true
    BEGIN event start
    END event start
    BEGIN event taskstart,{7z465.exe:939956}
    END event taskstart
    INFO InitFrame
    INFO UploadURL ,pp.aspx?UploaderDebug=1&UseUploadModule=Dynamic&_Namespace=CuteWebUI&_UploaderDebugMode=1&_UploadID=body_AjaxUploadImage_1355328665451_1&_UploadControlID=ctl00$body$AjaxUpload&ContextValue=!3wEWAQUTYzpcRmlsZXNcVXBsb2FkVGVtcFK3UNKZ0du!3fPWVUgyXoo1tHSf6k0oIddPPpDLbZkte&_MaxSizeKB=1953125&_VFN=7z465.exe&_Addon=upload&_AddonGuid=86B79AE7-A63C-631B-BD4B-A5E70B29FBFF
    INFO flash report ,complete,86B79AE7-A63C-631B-BD4B-A5E70B29FBFF,,
    INFO flash start load mode ,939956
    INFO flash finish load mode ,939956
    INFO submit form via xmlhttp ,https://pp.aspx?UploaderDebug=1&UseUploadModule=Dynamic&_Namespace=CuteWebUI&_UploaderDebugMode=1&_UploadID=body_AjaxUploadImage_1355328665451_1&_UploadControlID=ctl00$body$AjaxUpload&ContextValue=!3wEWAQUTYzpcRmlsZXNcVXBsb2FkVGVtcFK3UNKZ0du!3fPWVUgyXoo1tHSf6k0oIddPPpDLbZkte&_MaxSizeKB=1953125&_VFN=7z465.exe&_Addon=verify&_AddonGuid=86B79AE7-A63C-631B-BD4B-A5E70B29FBFF
    INFO get http status,200
    INFO UploadOK,body_AjaxUploadImage_1355328665451_1,86b79ae7-a63c-631b-bd4b-a5e70b29fbff,,7z465.exe
    BEGIN event taskcomplete
    End event taskcomplete
    BEGIN event postback
    END event postback,false

     

    Is there any workaround?

     

    Best regards

    Mark  

     

View as RSS news feed in XML