Embedding YouTube videos into WordPress

That’s an easy one. On your WordPress edit post page switch to html-view and insert the html-code to embed provided by youtube at the desired position in your article.

The section you insert may look something like this

<object classid=”clsid:d27cdb6e-ae6d-11cf-96b8-444553540000″ width=”425″ height=”344″ codebase=”http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0″><param name=”allowFullScreen” value=”true” /><param name=”allowscriptaccess” value=”always” /><param name=”src” value=”http://www.youtube.com/v/71kckb8hhOQ&amp;hl=de_DE&amp;fs=1&amp;” /><param name=”allowfullscreen” value=”true” /><embed type=”application/x-shockwave-flash” width=”425″ height=”344″ src=”http://www.youtube.com/v/71kckb8hhOQ&amp;hl=de_DE&amp;fs=1&amp;” allowscriptaccess=”always” allowfullscreen=”true”></embed></object>

Switching back to text view you can add some additional line breaks before and after the video.

That’s all.

Leave a Reply