<?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>orangeSPLoTCH &#187; Uncategorized</title>
	<atom:link href="http://orangesplotch.com/blog/categories/random/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://orangesplotch.com/blog</link>
	<description>Web developing in the middle of the night.</description>
	<lastBuildDate>Wed, 25 Aug 2010 11:45:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>SwfObj WordPress Plugin</title>
		<link>http://orangesplotch.com/blog/swfobj-wordpress-plugin/</link>
		<comments>http://orangesplotch.com/blog/swfobj-wordpress-plugin/#comments</comments>
		<pubDate>Tue, 13 May 2008 06:08:27 +0000</pubDate>
		<dc:creator>mattc</dc:creator>
				<category><![CDATA[SwfObj]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[embed]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[shortcode]]></category>
		<category><![CDATA[swf]]></category>
		<category><![CDATA[swfobject]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wp plugin]]></category>

		<guid isPermaLink="false">http://orangesplotch.com/blog/?p=75</guid>
		<description><![CDATA[I've just released the <a href="http://wordpress.org/extend/plugins/swfobj/">SwfObj WordPress plugin</a>. It's already saving me loads of time embedding Flash objects in my posts. Hopefully it can be of value to you, too.]]></description>
			<content:encoded><![CDATA[<p class="intro">I am currently developing a <a href="http://wordpress.org/extend/plugins/swfobj/" title="SwfObj WordPress plugin">WordPress Plugin</a> for those who are Flash Fiends like myself.</p>
<h3>Embedding Flash was a pain</h3>
<p>As you may have noticed, I embed a lot of Flash files into my blog posts. Embedding Flash content into WordPress posts is a tedious process at best. There are several options and parameters, all needing to be entered correctly or the object won&#8217;t display properly. Add to that the complexity of multiple browser support and you&#8217;ve got quite a mess, especially if you are concerned with valid XHTML markup.</p>
<p>Up until this point, I&#8217;ve been copy/pasting the object code into my posts. First I ftp the Flash file onto my server. Then I pull up a past post that had Flash in it. Then I copy that code to my new post, and edit the items that have changed such as the src and the object dimensions. Finally I save the post and preview it to see if I entered everything correctly. This takes way longer than it should.</p>
<h3>Some recent developments</h3>
<p>Last year I came across the SwfObject project. It is a great tool to simplify embedding Flash content. The markup is XHTML compliant, but still works most browsers, including IE6.</p>
<p>Flash forward to last month, when WordPress 2.5 was released. The new release includes the handy shortcode feature as well as improved media support with a nice API.</p>
<h3>Flash magic voodoo</h3>
<p>Combine the two and for me, you&#8217;ve got something magical. Assuming I&#8217;m not the only person who embeds heaps of Flash content into their posts, I decided to put together this new plugin: <a href="http://wordpress.org/extend/plugins/swfobj/"><strong>SwfObj</strong></a>.</p>
<p>While there are still a lot of features in the works, this initial version has significantly simplified the process of embedding Flash into my posts. A simple shortcode, such as the following, is all the markup I need to embed them. Here is the new shortcode, and the resulting embedded object.</p>
<blockquote><p><code>&#91;swfobj src="http://orangesplotch.com/blog/wp-content/uploads/2008/04/constellation.swf" width="500" height="196" allowfullscreen="true" required_player_version="9.0.0"]</code>
</p></blockquote>

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="500" height="196" class="test">
      <param name="movie" value="http://orangesplotch.com/blog/wp-content/uploads/2008/04/constellation.swf" />
      <param name="allowfullscreen" value="true" />
      <param name="wmode" value="opaque" />
      <!--[if !IE]>-->
      <object type="application/x-shockwave-flash" data="http://orangesplotch.com/blog/wp-content/uploads/2008/04/constellation.swf" width="500" height="196" allowfullscreen="true" wmode="opaque">
      <!--<![endif]-->
        
      <!--[if !IE]>-->
      </object>
      <!--<![endif]-->
    </object>

<p><em>Admittedly this shortcode example isn&#8217;t that short. But it sure is a lot shorter and easier to read than the resulting embedded object code.</em></p>
<pre>
&lt;object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="swfobj_0" width="500" height="196">
  &lt;param name="movie" value="http://orangesplotch.com/blog/wp-content/uploads/2008/04/constellation.swf" />
  &lt;param name="allowFullScreen" value="true" />
  &lt;!--&#91;if !IE]--&gt;
  &lt;object type="application/x-shockwave-flash" data="http://orangesplotch.com/blog/wp-content/uploads/2008/04/constellation.swf" width="500" height="196" allowFullScreen="true">
  &lt;!--&#91;endif]--&gt;

    &lt;p>The Flash plugin is required to view this object.&lt;/p>
  &lt;!--&#91;if !IE]--&gt;
  &lt;/object>
  &lt;!--&#91;endif]--&gt;
&lt;/object>
</pre>
<p class="aside">
For more details on the plugin, visit the shiny new <a href="http://orangesplotch.com/blog/swfobj">SwfObj WordPress plugin homepage</a>. Feel free to <a href="http://wordpress.org/extend/plugins/swfobj/">download</a> it and use it on your own site. Any feedback is welcome.</p>
]]></content:encoded>
			<wfw:commentRss>http://orangesplotch.com/blog/swfobj-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>
