<?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>EronInJapan &#187; Standards-compliant Markup</title>
	<atom:link href="http://eroninjapan.com/category/internet/standards-compliant-markup/feed/" rel="self" type="application/rss+xml" />
	<link>http://eroninjapan.com</link>
	<description>Personal Insight On Japan And The Web</description>
	<lastBuildDate>Sat, 25 Jul 2009 06:32:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Standards-compliant Flash and YouTube Embedding</title>
		<link>http://eroninjapan.com/2009/07/standards-compliant-flash-and-youtube-embedding/</link>
		<comments>http://eroninjapan.com/2009/07/standards-compliant-flash-and-youtube-embedding/#comments</comments>
		<pubDate>Thu, 16 Jul 2009 03:13:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Standards-compliant Markup]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://eroninjapan.com/?p=51</guid>
		<description><![CDATA[If you&#8217;ve ever wondered why the markup provided by Flash or YouTube to embed their content don&#8217;t validate in the W3C Validating Service then you aren&#8217;t alone. Luckily for us there are developers out there who have put a lot of time and energy into creating and testing standards-compliant markup for embedding this content in [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;ve ever wondered why the markup provided by Flash or YouTube to embed their content don&#8217;t validate in the <a title="W3C Validating Service" href="http://validator.w3.org/">W3C Validating Service</a> then you aren&#8217;t alone. Luckily for us there are developers out there who have put a lot of time and energy into creating and testing standards-compliant markup for embedding this content in your web pages. You can read more about how they came about their solutions here: <a title="Validating Flash XHTML" href="http://www.alistapart.com/articles/flashsatay">Validating Flash XHTML</a> and  <a title="Validating YouTube XHTML" href="http://www.garybadger.com/youtube.html">Validating YouTube XHTML</a>.</p>
<p>Without going into the wrong way to do it, I will just post the &#8220;correct&#8221; markup below.</p>
<h4><span style="text-decoration: underline;">Validated Flash XHTML</span></h4>
<blockquote><p>
&lt;object type=&#8221;application/x-shockwave-flash&#8221; data=&#8221;movie.swf&#8221; width=&#8221;575&#8243; height=&#8221;350&#8243;&gt;<br />
&lt;param name=&#8221;wmode&#8221; value=&#8221;opaque&#8221; /&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;movie.swf&#8221; /&gt;<br />
&lt;/object&gt;
</p></blockquote>
<h4><span style="text-decoration: underline;">Validated YouTube XHTML</span></h4>
<blockquote><p>
&lt;object type=&#8221;application/x-shockwave-flash&#8221; width=&#8221;575&#8243; height=&#8221;350&#8243; data=&#8221;http://www.youtube.com/v/oC4FAyg64OI&amp;hl=en&amp;fs=1&amp;&#8221;&gt;<br />
&lt;param name=&#8221;movie&#8221; value=&#8221;http://www.youtube.com/v/oC4FAyg64OI&amp;hl=en&amp;fs=1&amp;&#8221; /&gt;<br />
&lt;/object&gt;
</p></blockquote>
<p><object type="application/x-shockwave-flash" width="575" height="350" data="http://www.youtube.com/v/oC4FAyg64OI&amp;hl=en&amp;fs=1&amp;"><param name="movie" value="http://www.youtube.com/v/oC4FAyg64OI&amp;hl=en&amp;fs=1&amp;" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://eroninjapan.com/2009/07/standards-compliant-flash-and-youtube-embedding/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

