The other day I made a post with a link to a YouTube video. I tried to embed it using the code that YouTube supplies but this resulted in the blog looking like someone had taken a sledge hammer to it… and no video.
Today Charlie Beckett was asking how to do this for his POLIS blog so I’ve been looking into it. If you look at my earlier post you’ll see that it is now working but it’s a bit fiddly. I followed instructions posted by Matthias Zeller Memento which involves turning off the visual rich editor while you make the post. I’ve found that you only need to worry about your personal settings so a revision of the instructions would be:
- Login to WordPress admin
- Go to Users
- Uncheck ‘Use the visual rich editor when writing’
- Go to Write >> Write Post
- Type your post
- Paste the ‘embed’ code for your YouTube video in the write box (copied from YouTube)
And then repeat 2&3 to turn the visual editor back on!