Recently there has been an uptick in the number people asking about how to embed videos from YouTube into Windows Live Writer so that you can include the video in your blog post. The problem stems from the fact that YouTube is using <IFRAME> as the default for their embed and Liver Writer is not really happy about the <IFRAME> tag in the Source view or pasted into the Insert Video dialog. There is a couple of reasons for this but one of the main reasons is that not very many blog servers support IFRAMEs and if you were to publish with one it would just get stripped out of the source and that might cause data loss for you. Off of the top of my head Blogger is the only one I know that lets you add an IFRAME in their blog editor. This post is about how to help you add a YouTube video to your blog so let’s move on.

If you are on the YouTube site you should be able to just copy the URL from your browser and paste it into Live Writer and it should convert it to a video and the location you have pasted. Alternatively you can select to Insert a Video from the web and paste the web address.

A problem can occur when you want to use the embed created from within a YouTube web page. The embed can contain more options beyond what you get by just pasting the web address into the Insert Video dialog. You used to be able to just copy that embed and paste it onto the Insert Video dialog or change to Source view and paste it there. Since YouTube has gone to IFRAME by default in the embed instead of an OBJECT tag this no longer works but there is a quick way to get it working with Live Writer.

When you click on Embed on the YouTube page check the check box to “Use old embed code” and this will switch the embed source from an IFRAME to an OBJECT which Live Writer can work with. This way you can paste it right into the Insert Video dialog in Live Writer or into the Source view. As you can see you have a lot of flexibility when pick the embed option in YouTube. You can pick a specific size for the video or elect to play the HD version as examples.

If this was helpful for you please leave me a comment in this post.