Save the file below as embed_allower.php
inside the wp-content/plugins
directory of your WordPress or WordPress MU and activate it. Feel free to customize as necessary.
----------------------------------
<?php
/*
* Plugin Name: Embed Allower
* Plugin URI: http://hendyirawan.com/
* Description: Allows embed, object, and other security risks tags. LGPLv3.
* Version: 1.0
* Author: Hendy Irawan
* Author URI: http://hendyirawan.com/
* */
// For more info see wp-includes/kses.php
if (!CUSTOM_TAGS) {
$allowedposttags['embed'] = array(
'style' => array(),
'type' => array (),
'id' => array (),
'height' => array (),
'width' => array (),
'src' => array (),
'object' => array(
'height' => array (),
'width' => array (),
'param' => array (
'name' => array (),
'value' => array ()
)
)
);
$allowedposttags['object'] = array(
'height' => array (),
'width' => array (),
'param' => array (
'name' => array (),
'value' => array ()
),
'embed' => array(
'style' => array(),
'type' => array (),
'id' => array (),
'height' => array (),
'width' => array (),
'src' => array ()
)
);
}