Page 1 of 1

All Scripts to run in Entries

Posted: Thu Dec 02, 2010 12:34 am
by rdean
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.
videoin.gif
videoin.gif (6.69 KiB) Viewed 1660 times

Re: All Scripts to run in Entries

Posted: Thu Dec 02, 2010 2:31 pm
by garvinhicking
Hi!

Please show the PHP code of the plugin, I wouldn't know why that shouldn't work...

MAybe some mod_security or whatever filtering is happening, or trouble with the WYSIWYG editing...

Regards,
Garvin