Embed a YouTube iFrame in WordPress
This tip comes from wpmudev.org. Click here to view original web page.
Frustrated that you can’t get your videos centered in your WordPress posts? Maybe you have a post that looks like this:
With this little trick, however, you will need to get the full embed code (not just the URL).
Once you have the embed code, go the TEXT tab in your editor, and put the your embed code in the middle of the following snippet of code where it says “embed-code.”
Here is a YouTube video that shows you exactly what they’re talking about. This video comes courtesy of Traci Reuter.
Just follow along, and you’ll be centering videos like a pro in no time. 😉