<?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>Web Design - SEO - Technology ReviewsPosts tagged Embed Code</title>
	<atom:link href="http://www.bliznet.com/tag/embed-code/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bliznet.com</link>
	<description>Internet marketing and web design experience.</description>
	<lastBuildDate>Sat, 07 Jan 2012 21:44:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Valid Flash Embed &#8211; Make That YouTube Embed Valid!</title>
		<link>http://www.bliznet.com/valid-flash-embed/</link>
		<comments>http://www.bliznet.com/valid-flash-embed/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 03:11:58 +0000</pubDate>
		<dc:creator>Kyle Blizzard</dc:creator>
				<category><![CDATA[Web Standards]]></category>
		<category><![CDATA[Embed Code]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Markup]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Validation]]></category>
		<category><![CDATA[W3C]]></category>
		<category><![CDATA[XHTML]]></category>

		<guid isPermaLink="false">http://www.bliznet.com/?p=524</guid>
		<description><![CDATA[Find out how to make that YouTube embed valid.]]></description>
			<content:encoded><![CDATA[<p>Hola! It&#8217;s been a while. I&#8217;ve got another gripe, and this time it&#8217;s with Flash embed code!</p>
<p>Most of the embed code I see for Flash movies is invalid, usually containing the non-existent <code>embed</code> element or some-such. Even the code provided by YouTube for embedding videos contains <code>embed</code>. This can easily be thrown out and will—probably most of the time—instantly make your code valid.</p>
<p>Here&#8217;s an example (in XHTML) of a valid Flash embed that works in at least IE6+, Firefox, and Safari:</p>
<p><code>&lt;object data="flash.swf" type="application/x-shockwave-flash" width="320" height="240"&gt;<br />
&lt;param name="movie" value="flash.swf" /&gt;<br />
&lt;/object&gt;</code></p>
<p>That&#8217;s all there is to it. Adjust the parameters and add additional <code>param</code> elements as necessary. If your Flash movie requires variables, just add an extra <code>param</code> as follows:</p>
<p><code>&lt;param name="flashvars" value="arg1=foo&amp;amp;arg2=bar" /&gt;</code></p>
<p>If you place additional elements inside the <code>object</code> element, it will act as a fallback, displaying if the Flash plugin isn&#8217;t installed. For example:</p>
<p><code>&lt;object data="flash.swf" type="application/x-shockwave-flash" width="320" height="240"&gt;<br />
&lt;param name="movie" value="flash.swf" /&gt;<br />
&lt;img src="fallback.jpg" alt="Flash Didn't Load!" /&gt;<br />
&lt;/object&gt;</code></p>
<p>That&#8217;s all for now. Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bliznet.com/valid-flash-embed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

