
There are lots of plugins to embed videos in WP/WPMU (you could do it manually in WP, but NOT in WPMU), but sometimes plugins are not an option.
So, what is there to be done?
You’ll just have to go to wp-includes folder, find the kses.php file (so the path is: wp-includes/kses.php) and modify some code over there.
Find these lines of code (just at the beginning of the file):

…and it goes on with allowed tags. All you have to do is to modify this array so that the specific video-embedding tags are allowed, too. In the end, this is how it should look like:

The tags before ‘address’ are the ones needed for embedding a video, and they are now allowed in a post, too.
Remember: wp-includes/kses.php
For your convenience, here’s the file containing the exact code you have to paste in kses.php, right after:
$allowedposttags = array(
Good luck! Let me know in the comments if you have any problems.
If you would like to make a comment, please fill out the form below.
[…] 後来循着這文章裡的方法,一步步摸索着解决了問題。 […]