I am working on a project where there is a carousel control on the front end that must use SWFObject.js version 2.2. When multiple file upload is installed it overwrites SWFObject.js with version 1.5. When I copy 2.2 back Multiple File Upload stops working showing JavaScript errors in Umbraco.
I don't think having 2 versions of SWFObject.js is a good solution and I would have to change my front end masterpages to do that.
Why does Multiple File Upload depend on SWFObject.js 1.5? Could the Multiple File Upload package be updated to include and be compatible with SWFObjects.js 2.2? Maybe SWFObject.js should be removed from the package and added as a prerequisite for the system for future compatibility.
We would be very grateful for any help on this because I have to get my code working this week!
The workaround would be to rename your 2.2 version to swfobject2.2.js and refer to that one in the frontend, that way the MFU in the backoffice will still refer to the old version and you can use the new version in the frontend.
I don't think I have time to fix it this week, but this should work!
Using Multiple File Upload with SWFObject.js 2.2
Hi,
I am working on a project where there is a carousel control on the front end that must use SWFObject.js version 2.2. When multiple file upload is installed it overwrites SWFObject.js with version 1.5. When I copy 2.2 back Multiple File Upload stops working showing JavaScript errors in Umbraco.
I don't think having 2 versions of SWFObject.js is a good solution and I would have to change my front end masterpages to do that.
Why does Multiple File Upload depend on SWFObject.js 1.5? Could the Multiple File Upload package be updated to include and be compatible with SWFObjects.js 2.2? Maybe SWFObject.js should be removed from the package and added as a prerequisite for the system for future compatibility.
We would be very grateful for any help on this because I have to get my code working this week!
We are using Umbraco version 4.0.3
The workaround would be to rename your 2.2 version to swfobject2.2.js and refer to that one in the frontend, that way the MFU in the backoffice will still refer to the old version and you can use the new version in the frontend.
I don't think I have time to fix it this week, but this should work!
Hi,
Yes, that works. I think it would be neater if MFU could use SWFObject.js version 2.2
I don't know why 2.2 wouldn't be backwards compatible with 1.5.
Regards,
Michael.
is working on a reply...