<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Learning the World &#187; object</title>
	<atom:link href="http://learningtheworld.eu/tag/object/feed/" rel="self" type="application/rss+xml" />
	<link>http://learningtheworld.eu</link>
	<description></description>
	<lastBuildDate>Tue, 06 Nov 2012 00:17:33 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>Embedding YouTube Video with iPhone Fallback</title>
		<link>http://learningtheworld.eu/2009/youtube-embed/</link>
		<comments>http://learningtheworld.eu/2009/youtube-embed/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 17:00:01 +0000</pubDate>
		<dc:creator><![CDATA[Martin Kliehm]]></dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[fallback]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[object]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[web standards]]></category>
		<category><![CDATA[XHTML]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://learningtheworld.eu/?p=729</guid>
		<description><![CDATA[Just a quick note as a reminder to myself <strong>how to embed YouTube videos</strong> in a standards compliant, valid <acronym title="Extensible Hypertext Markup Language">XHTML</acronym> syntax. It works across all current browsers, doesn&#8217;t use <code>&#60;embed&#62;</code>, and has the elegant fallback displaying a still image that is linked to YouTube, thus enabling iPhone users without Flash to view the video.]]></description>
				<content:encoded><![CDATA[<p>Just a quick note as a reminder to myself <strong>how to embed YouTube videos</strong> in a standards compliant, valid <acronym title="Extensible Hypertext Markup Language">XHTML</acronym> syntax. It works across all current browsers, doesn&rsquo;t use <code>&lt;embed&gt;</code>, and has the elegant fallback displaying a still image that is linked to YouTube, thus enabling iPhone users without Flash to view the video.</p>

<ol class="code">
<li><code>&lt;object type=&quot;application/x-shockwave-flash&quot; data=&quot;http://www.youtube.com/<span class="codeSpace">&nbsp;</span>v/<span class="codeSpace">&nbsp;</span><em>VideoID</em>&quot; width=&quot;480&quot; height=&quot;360&quot;></code></li>
<li class="indent"><code>&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/<span class="codeSpace">&nbsp;</span>v/<span class="codeSpace">&nbsp;</span><em>VideoID</em>&quot; /&gt;</code></li>
<li class="indent"><code>&lt;param name=&quot;quality&quot; value=&quot;high&quot; /&gt;</code></li>
<li class="indent"><code>&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot; /&gt;</code></li>
<li class="indent"><code><strong>&lt;!-- Fallback content --&gt;</strong></code></li>
<li class="indent"><code>&lt;a href=&quot;http://www.youtube.com/<span class="codeSpace">&nbsp;</span>watch?<span class="codeSpace">&nbsp;</span>v=<em>VideoID</em>&quot;&gt;</code></li>
<li class="indent"><span class="indent"><code>&lt;img src=&quot;http://img.youtube.com/<span class="codeSpace">&nbsp;</span>vi/<span class="codeSpace">&nbsp;</span><em>VideoID</em>/0.jpg&quot; width=&quot;480&quot; height=&quot;360&quot; alt=&quot;[Video title]&quot; /&gt;<br />YouTube Video</code></span></li>
<li class="indent"><code>&lt;/a&gt;</code></li>
<li><code>&lt;/object&gt;</code></li>
</ol>

<p>Please note that there are spaces in the code above to allow linebreaks. If you copy and paste you need to remove those. <img src="http://learningtheworld.eu/wp-includes/images/smilies/icon_wink.gif" alt=";)" class="wp-smiley" /> </p>

<p>Here is an example:</p>

<p><object type="application/x-shockwave-flash" data="http://www.youtube.com/v/ybPeQUEgk-0" width="425" height="344">
<param name="movie" value="http://www.youtube.com/v/ybPeQUEgk-0" />
<param name="quality" value="high" />
<param name="allowFullScreen" value="true" />
<a href="http://www.youtube.com/watch?v=ybPeQUEgk-0">
<img src="http://img.youtube.com/vi/ybPeQUEgk-0/0.jpg" width="425" height="344" alt="Little 'Tinker Cartoon" />
YouTube Video
</a>
</object></p>
]]></content:encoded>
			<wfw:commentRss>http://learningtheworld.eu/2009/youtube-embed/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
