Task #32994
closedswfobject is included twice
0%
Description
swfobject.js is included twice in TYPO3.
It is in
typo3/contrib/swfupload/plugins/swfupload.swfobject.js
typo3/contrib/swfupload/plugins/swfobject_license.txt
typo3/contrib/flashmedia/swfobject
typo3/contrib/flashmedia/swfobject/swfobject.js
It should only be included once.
Updated by Georg Ringer almost 13 years ago
- Subject changed from swfobject is included trice to swfobject is included twice
Updated by Christian Welzel almost 13 years ago
I discovered, that its not as easy as thought.
typo3/contrib/swfupload/plugins/swfupload.swfobject.js contains swfobject 2.1 but its more code than only swfobject. swfobject is embedded into the plugin code for swfupload.
typo3/contrib/flashmedia/swfobject/swfobject.js has swfobject 2.2.
Updated by Simon Schaufelberger almost 13 years ago
everything under typo3/contrib is thirdparty so removing things by hand is not a good idea.
Updated by Christian Welzel almost 13 years ago
flvplayer.swf is not 3rd party.
But it really makes no sense to patch the files.
Moving up swfobject one level directly under contrib/ would make more clear, that there (in case somebody needs it). It would prevend multiple inclusion.
Updated by Steffen Ritter over 12 years ago
- Tracker changed from Bug to Task
- Target version deleted (
4.7.0)
Updated by Wouter Wolters over 11 years ago
- Status changed from New to Closed
The duplicated file has been removed in 6.1