» Home / Troubleshooter / Embed YouTube Videos in WordPress MU
Embed YouTube Videos in WordPress MU
October 2008 »The easy way (you need to repeat when you update to a newer version of WPMU) is to edit the file wp-includes/kses. php
Search for the line
add_filter('content_save_pre', 'wp_filter_post_kses');
and comment it out by placing two slashes in the beginning:
// add_filter('content_save_pre', 'wp_filter_post_kses');
That is all! Go embed your videos without problems – Or, you can follow a different, and more secure, way, by allowing just the video specific tags. Again in the file wp-includes/kses. php add the following tags in the allowed tags section:
'object' => array ( 'id' => array (), 'classid' => array (), 'data' => array (), 'type' => array (), 'width' => array (), 'height' => array (), 'allowfullscreen' => array ()), 'param' => array ( 'name' => array (), 'value' => array ()), 'embed' => array ( 'id' => array (), 'style' => array (), 'src' => array (), 'type' => array (), 'height' => array (), 'width' => array (), 'quality' => array (), 'name' => array (), 'flashvars' => array (), 'allowscriptaccess' => array (), 'allowfullscreen' => array ()),
Or download the “Allow Embeded Videos” plugin for Wordpress MU and put it in the mu-plugins folder.
» Grab the Link:
Cf.
Other Posts: Merge mp3 playlists »
If Notepad won’t open the html source of a web page »
Rename and Randomize your files with numerical file names »
Make Windows display intact file names in folders »
Prevent Word and Expression Web from auto changing language »
Batch file to run two or more programs, with delay / pause »
When Foobar2000 context menu to play or enqueue a folder disappears from Windows Explorer »
Normalize (with dynamic volume) the audio of VLC player »
Post Info
Filed under Troubleshooter
Previous post: Study and play with Arcademic games
Next post: Index your audio files with Music Archive
Next post: Index your audio files with Music Archive
Contact
-
You can register and post a comment directly, or send a letter to the editor





Thanks heaps, after looking at many options this way by far the best solution :-)
Thanks
Thanks! Wordpress doesn’t even write about this restriction anywhere! You saved my day
Thanks for the plug in. It works fine. But, if i go to certain computers, the video wont show, it displays as a comment box. However, certain computers play the video. Is it a software issue?
Most probably it is a security configuration issue in those computers. Try the manual solution, without the plugin.