Today I tried to integrate a YouTube video into my WordPress. It did not work out of the box. Initially the video would break the layout in Firefox and not show up in Internet Explorer. It turned out that the problem is the Rich Text Editor in WordPress. Even if you select the HTML editing mode and copy over the HTML provided by YouTube it fails.
To make it work I changed back to the older WordPress Editor…
1. Login to WordPress admin
2. Go to Options >> Writing
3. Uncheck both Users should use the visual rich editor by default &
WordPress should correct invalidly nested XHTML automatically
4. Go to Users
5. Uncheck Use the visual rich editor when writing
6. Go to Write >> Write Post
7. Paste the ’embeddable player’ code for your YouTube video in the write box
8. In the code change the width of the player to “500” (depends on your template, but in my template the standard “600”setting ruined the layout in IE.
8. Publish blog
Now it works (see my previous blog entry).