How to post videos on WordPress sites

To post videos from YouTube or Google Video on a WordPress site can be a bit frustrating.

Pasting the code into the HTML editor of the Write Post area of WordPress does not work. I also tried to use a plugin to get the videos to appear, but this turned out to be harder than I thought, as even following the instructions and copy and pasting the code exactly didn’t work. I then came across the answer, which of course proved to be stupidly easy. Here it is:

  • Go to Options > Writing and uncheck both “Users should use the visual rich editor by default” and “WordPress should correct invalidly nested XHTML automatically”
  • Next go to Users and uncheck “Use the visual rich editor when writing”
  • Write a new post and paste the embed code (e.g. [object width=”425″ height=”350″][param name=”movie” value=”http://www.youtube.com/v/EMjmyv1rNJ8″][/param][param name=”wmode” value=”transparent”][/param][embed src=”http://www.youtube.com/v/EMjmyv1rNJ8″ type=”application/x-shockwave-flash” wmode=”transparent” width=”425″ height=”350″][/embed][/object] swap [] for <>) from YouTube or Google into the text entry box and it should show the video.
Share and Bookmark to: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • Reddit
  • Sphinn
  • StumbleUpon
  • YahooMyWeb

Leave a Reply

SEO and SEM Tutorials, Training & Consultancy