<?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>@Diacre &#187; Open Source</title>
	<atom:link href="http://ducharme.cc/tag/open-source/feed/" rel="self" type="application/rss+xml" />
	<link>http://ducharme.cc</link>
	<description>father, francophile, former pro wrestler, improvisational comedian, coder and all around good guy ;)</description>
	<lastBuildDate>Fri, 03 Feb 2012 19:59:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>The Open Source Media Framework</title>
		<link>http://ducharme.cc/open-source-media-framework/</link>
		<comments>http://ducharme.cc/open-source-media-framework/#comments</comments>
		<pubDate>Fri, 04 Dec 2009 10:00:18 +0000</pubDate>
		<dc:creator>Deacon</dc:creator>
				<category><![CDATA[Flash Friday]]></category>
		<category><![CDATA[Flash]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[OSMF]]></category>

		<guid isPermaLink="false">http://ducharme.cc/?p=187</guid>
		<description><![CDATA[The Open Source Media Framework (OSMF ) is a new open source project managed by Adobe. It's aim is to make the creation of media players a simpler process and to give everyone who uses it access to best practices that they may have missed while rolling their own. I took it for a test drive and here are my first thoughts.]]></description>
			<content:encoded><![CDATA[<p>I first heard about the <a href="http://opensource.adobe.com/wiki/display/osmf/Open+Source+Media+Framework" target="_blank">Open Source Media Framework </a>(<abbr title="open source media framework">OSMF</abbr>) while watching one of the Adobe Max 2009 keynote speeches online. As a person who has built a lot of video players, galleries and mp3 players for my work I was very excited that this was being built. I have wanted to work on something like this myself for a long time. Now here was an open source project I could contribute to while building off of best practices others have contributed. Building robust custom players was going to be much quicker and easier.[ad#Adobe Banner]<br />
<span>While watching the keynote I looked <abbr title="open source media framework">OSMF</abbr> up, but it was still in early development. So I just added it too my ever growing research and development document. Recently I found a free ezine called <a href="http://ffdmag.com/" target="_blank">Flash &amp; Flex Developers Magazine</a> and the most recent issue was focused around <abbr title="open source media framework">OSMF</abbr>. I decided to take the framework for a test drive and while I was at it I would give the <abbr title="application programming interface">API</abbr> docs a skimming read. Here is what I found.</span></p>
<h2>Testing out the sample code</h2>
<p>The first thing I did was try out the examples straight from the magazine. This was straightforward. The samples didn&#8217;t build anything too advanced but I noticed something. It didn&#8217;t take very many lines of code to get the video playing. Most of the code was for adding buttons and making them call a single function in the <abbr title="open source media framework">OSMF</abbr> <abbr title="application programming interface">API</abbr>. As usual when doing samples from an article I decide to tweak it to see has intuitive it was to do things. Adding and customizing simple playback controls and capabilities was a breeze. I only needed to check the documentation to make sure my assumptions were true, which they were in most cases. For a basic custom player, this thing is extremely easy to use.</p>
<h2>Looking under the hood</h2>
<p>The second thing I did is something I like to do with a framework I&#8217;m looking at, skim over the documentation. This consists of going through each package and seeing what classes are where. For the most part I will click into each classes documentation to find out what the class is meant for. Sure, this has me look at a lot of helper classes that I may never use ( which is a good learning exercise ), but it also has me find obscure classes that might be quite useful in a pinch.<br />
[ad#Google Adsense]<br />
One class that interested me both for educational and practical reasons was the <a href="http://help.adobe.com/en_US/OSMF/1.0/AS3LR/org/osmf/proxies/ListenerProxyElement.html" target="_blank">ListenerProxyElement</a> class. It is actually quite beautiful in its simple use. It is a class that is meant to be extended. The class itself sets up all the listeners for a <a href="http://help.adobe.com/en_US/OSMF/1.0/AS3LR/org/osmf/proxies/ListenerProxyElement.html" target="_blank">MediaElement</a> and has them trigger hook functions that you override to handle these events with custom code. I foresee using this in many projects. There are quite a few other things taken care of in this framework, such as handling of a video player that is sized differently from the video content.</p>
<p>Overall, Adobe ( who is in charge of this open source project ) has put together a very useful, intuitive and extensible framework that is still in the early stages. I&#8217;m looking forward to see what types of media players I can build now that so much is already handled for me. Is there anything you want to know about <abbr title="open source media framework">OSMF</abbr>? Have you already used it on a project? If you have can we see your work (and hopefully code)?[ad#Adobe Banner]</p>
<p>For more information check out:</p>
<ul>
<li><a href="http://opensource.adobe.com/wiki/display/osmf/Open+Source+Media+Framework">The Open Source Media Framework main page</a></li>
<li><a href="http://help.adobe.com/en_US/OSMF/1.0/AS3LR/">The OSMF documentation</a></li>
<li><a href="http://forums.adobe.com/community/opensource/osmf/">The OSMF forums</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://ducharme.cc/open-source-media-framework/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

