Insert swf into Joomla article

Joomla TinyMCE Editor settingsI was having a hard time with inserting a swf into a Joomla Article using the TinyMCE editor. It seemed pretty simple, just click the media button, set the path and  you’re done. That seemed fine and simple enough, but the TinyMCE editor was just displaying an image tage, not the object code that I was expecting it to render.

After some time researching this, and trying just about everything I could think of it dawned on me. I have the the Code Cleanup on Save setting for the TinyMCE plugin set to Never, so the editor was never converting the swf code to the necessary code to embed it one the page.

Simply setting the TinyMCE plugin setting Code Cleanup on Save to Always fixed it for me. It’s amazing just how often it’s something so incredibly easy that can be the source of a problem. I’m thinking of a fine script to fix it when all I had to do was simply adjust a setting.