Allow embed tag in HTMLPurifier?

apex944

New Member
I use this configuration:\[code\]$config = HTMLPurifier_Config::createDefault();$config->set('Core.Encoding', 'UTF-8');$config->set('HTML.Doctype', 'XHTML 1.0 Strict');$config->set('HTML.SafeObject', true);$config->set('Output.FlashCompat', true);$config->set('HTML.Allowed', 'object[width|height|data],param[name|value],embed[src|type|allowscriptaccess|allowfullscreen|width|height|wmode]');$purifier = new HTMLPurifier($config);\[/code\]But all embed tags like this are getting stripped:\[code\]<embed allowfullscreen="true" height="480" src="http://stackoverflow.com/questions/3819262/apps/viral_player/player-viral.swf?file=../../data/media/video/1.flv" width="720" wmode="transparent"></embed>\[/code\]Is there any way to get HTMLPurifier not strip embed tags?
 
Back
Top