All Scripts to run in Entries
Posted: Thu Dec 02, 2010 12:34 am
So ... I'm poking around attempting to develop a plugin that will allow url insertion of flv and swf files in entries, and play by using flowplayer.
My code is attached in an image/gif -- anytime I run the plugin the '<script>' entries are filtered out of the entry body, leaving only the html entities inserted properly in to the entry body.
It's madding. Where I can I alter the security or how can I force the script commands in to the body of the entry automatically.
It works perfectly if I manually enter the script in the html body of the entry, but it's filtered out if I try to have it included automatically via the plugin.
My code is attached in an image/gif -- anytime I run the plugin the '<script>' entries are filtered out of the entry body, leaving only the html entities inserted properly in to the entry body.
It's madding. Where I can I alter the security or how can I force the script commands in to the body of the entry automatically.
It works perfectly if I manually enter the script in the html body of the entry, but it's filtered out if I try to have it included automatically via the plugin.