Blogger Atom Blog YouTube Videos / RSS

I am trying to view the feed from my blogger account both from the Ruby on Rails application and to the Safari feed reader. All plain HTML (like paragraphs and images) is interpreted just fine, but embedding YouTube videos doesn't work.

For example, when I add this to my post inside the blogger:

<p>Before</p>
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/9_tCtvmAm4M&hl=en_US&fs=1&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/9_tCtvmAm4M&hl=en_US&fs=1&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object>

This happens using the feed_tools harness:

<p>Before</p>
&lt;object width="560" height="340"&gt;&lt;param name="movie" value="http://www.youtube.com/v/9_tCtvmAm4M&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0"&gt;&lt;/param&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;&lt;embed src="http://www.youtube.com/v/9_tCtvmAm4M&amp;amp;hl=en_US&amp;amp;fs=1&amp;amp;rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"&gt;&lt;/embed&gt;&lt;/object&gt;

The safari reader simply shows:

<p>Before</p>

... which makes me think that he cannot make out what is being accepted as YouTube video.

Is it possible for youtube videos to display correctly in channel readers? Is this because the flash drive is not officially valid HTML?

+5
2

:

<p>Before</p>
<iframe class="youtube-player" type="text/html" width="640" height="385" src="http://www.youtube.com/embed/VIDEO_ID" frameborder="0">
</iframe>
0

All Articles