<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" 
      xmlns:thr="http://purl.org/syndication/thread/1.0">
  <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html" />
  <link rel="self" type="application/atom+xml" href="http://www.insideria.com/atom.xml" />
  <id>tag:www.insideria.com,2009://34/tag:www.insideria.com,2009://34.36159-</id>
  <updated>2009-11-16T15:03:08Z</updated>
  <title>Comments for Wow, Video in Flex 4 is easy! (http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html)</title>
  <generator uri="http://www.sixapart.com/movabletype/">Movable Type 4.21-en</generator>
  <entry>
    <id>tag:www.insideria.com,2009://34.36159</id>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html" />
    <link rel="service.edit" type="application/atom+xml" href="http://blogs.oreilly.com/cgi-bin/mt/mt-atom.cgi/weblog/blog_id=34/entry_id=36159" title="Wow, Video in Flex 4 is easy!" />
    <published>2009-05-08T02:46:02Z</published>
    <updated>2009-05-08T03:14:48Z</updated>
    <title>Wow, Video in Flex 4 is easy!</title>
    <summary>I was experimenting with Flex 4 this evening, and I realized something -- Incorporating video in your application is now really, really, really easy.   Don&apos;t believe me, read on...</summary>
    <author>
      <name>Andrew Trice</name>
      
    </author>
    
    <category term="Blogs" />
    
    <content type="html" xml:lang="en" xml:base="http://www.insideria.com/">
      <![CDATA[I was experimenting with Flex 4 this evening, and I realized something -- Incorporating video in your application is now really, really, really easy.   Don't believe me, read on...
<br/><br/>
This is a VERY basic example showing how to embed video into your <a href="http://opensource.adobe.com/wiki/display/flexsdk/Download+Flex+4">Flex 4</a> application.   There is no custom skinning or layout. It's just the basics, however it was astonishingly easy.  First, take a look at the application below.  It is a full featured video player that has play/pause/stop, volume, mute, fullscreen, and a scrub bar.
<br/><br/>
<iframe src="http://www.tricedesigns.com/portfolio/flex4video" frameborder="0" width="100%" height="250"></iframe>

It is definitely more effort to get it polished and looking the way you will want it to in your final applications, but here's all it takes just to get the video into your application.   This is quite possibly the most basic, yet functional application I've ever built:
<br/><br/>
<div class="acode" style="overflow: auto; padding: 10px;" ><div style="overflow-x: visible;"> 
<code language="perl">
<pre>
&lt;?xml <span class="category2">version</span>="<span class="quote">1.0</span>" encoding="<span class="quote">utf-8</span>"?&gt;
&lt;s:<span class="category2">Application</span>
	xmlns:fx="<span class="quote">http://ns.adobe.com/mxml/2009</span>" 
	xmlns:s="<span class="quote">library://ns.adobe.com/flex/spark</span>"&gt;
	
	&lt;s:VideoPlayer 
		source="<span class="quote">video.flv</span>"
		horizontalCenter="<span class="quote">0</span>"
		verticalCenter="<span class="quote">0</span>"
		autoPlay="<span class="quote">false</span>" /&gt;
	
&lt;/s:<span class="category2">Application</span>&gt;</pre>
</code>
 
</div></div> 
<em>Note: The original video came from <a href="http://www.youtube.com/watch?v=8yX_uVQ9OKA" target="_blank">here</a>.</em>



<br/><br/>


___________________________________<br/>
<strong>Andrew Trice</strong><br/>
Principal Architect<br/>
<a href="http://www.cynergysystems.com" target="_blank">Cynergy Systems<br/>
http://www.cynergysystems.com</a>]]>
      
    </content>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059092</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059092" />
    <title>Comment from Dev on 2009-05-08</title>
    <author>
        <name>Dev</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Oh, the default controls are really ugly .... Can we customize them ?</p>]]>
    </content>
    <published>2009-05-08T08:37:38Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059094</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059094" />
    <title>Comment from Rich Tretola on 2009-05-08</title>
    <author>
        <name>Rich Tretola</name>
        <uri>http://www.insideria.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.insideria.com">
        <![CDATA[<p>Amazing that it took until Flex 4 to include some easy to use video controls. :-)</p>]]>
    </content>
    <published>2009-05-08T08:47:08Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059102</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059102" />
    <title>Comment from Andrew Trice on 2009-05-08</title>
    <author>
        <name>Andrew Trice</name>
        <uri>http://www.tricedesigns.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.tricedesigns.com">
        <![CDATA[<p>Yes, everything is customizable.   </p>]]>
    </content>
    <published>2009-05-08T11:28:16Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059116</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059116" />
    <title>Comment from Michael Lallemont on 2009-05-08</title>
    <author>
        <name>Michael Lallemont</name>
        <uri>http://www.lallemont.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.lallemont.com">
        <![CDATA[<p>I noticed that you still have to change the HTML template to include the allowFullScreen parameter so that the Fullscreen button actually works without a player security violation. Is there more control over this in version 4? It would be nice if you didn't have to manually edit the HTML template to do various things, such as pass flashvars parameters and allow fullscreen. I can't wait to actually use Flex 4 and Flash Catalyst. I'm very excited about what Adobe is doing and I think it will produce more work out there for us Flex developers.</p>]]>
    </content>
    <published>2009-05-08T14:47:09Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059120</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059120" />
    <title>Comment from samBrown on 2009-05-08</title>
    <author>
        <name>samBrown</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>That's a pretty big pay-off for such little code. Any fully skin-able? very cool! </p>]]>
    </content>
    <published>2009-05-08T15:12:52Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059132</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059132" />
    <title>Comment from Ryan Frishberg on 2009-05-08</title>
    <author>
        <name>Ryan Frishberg</name>
        <uri>http://frishy.blogspot.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://frishy.blogspot.com">
        <![CDATA[<p>Video in Flex 4 is definitely getting good upgrade.  We're still actively working on it, and if you take a more recent build from the trunk, you'll see the skin's gotten a major upgrade (also the allowFullScreen should be in the index.template.html file).  And because of the new skinning architecture in Spark, it'll be super easy to customize the skin to your liking.  </p>]]>
    </content>
    <published>2009-05-08T17:00:59Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059137</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059137" />
    <title>Comment from Shawn Makinson on 2009-05-08</title>
    <author>
        <name>Shawn Makinson</name>
        <uri>http://squarefactor.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://squarefactor.com">
        <![CDATA[<p>Flexbuilder 4 beta soon.....pretty please. I am starting an air project and I would love to use v4. I'm still debating on my mix of flex and html and v4 may shove me one way or the other.</p>]]>
    </content>
    <published>2009-05-08T17:41:57Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059144</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059144" />
    <title>Comment from Joeflash on 2009-05-08</title>
    <author>
        <name>Joeflash</name>
        <uri>http://blog.joeflash.ca</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://blog.joeflash.ca">
        <![CDATA[<p>How come your controls show up differently than the default controls for this example, using almost identical code?<br />
<a href="http://blog.flexexamples.com/2009/05/05/muting-the-volume-on-a-spark-videoplayer-control-in-flex-gumbo/">http://blog.flexexamples.com/2009/05/05/muting-the-volume-on-a-spark-videoplayer-control-in-flex-gumbo/</a></p>]]>
    </content>
    <published>2009-05-08T18:12:29Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059147</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059147" />
    <title>Comment from Joeflash on 2009-05-08</title>
    <author>
        <name>Joeflash</name>
        <uri>http://blog.joeflash.ca</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://blog.joeflash.ca">
        <![CDATA[<p>How come your controls show up differently than the default controls for this example, using almost identical code?<br />
<a href="http://blog.flexexamples.com/2009/05/05/muting-the-volume-on-a-spark-videoplayer-control-in-flex-gumbo/">http://blog.flexexamples.com/2009/05/05/muting-the-volume-on-a-spark-videoplayer-control-in-flex-gumbo/</a></p>]]>
    </content>
    <published>2009-05-08T18:15:07Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059150</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059150" />
    <title>Comment from Ryan Frishberg on 2009-05-08</title>
    <author>
        <name>Ryan Frishberg</name>
        <uri>http://frishy.blogspot.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://frishy.blogspot.com">
        <![CDATA[<p>Joeflash,</p>

<p>That's the new version of the skin.  The skin you see here was just a really simple skin to get the controls working and functioning.  There are still some bugs in the video player that we're trying to iron out soon, and there are still a few more tweaks to the skin that need to happen.</p>

<p>As always, you can monitor the bugs through JIRA at <a href="http://bugs.adobe.com/flex/">http://bugs.adobe.com/flex/</a> , and you can download the latest trunk from <a href="http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/">http://opensource.adobe.com/svn/opensource/flex/sdk/trunk/</a> .</p>

<p>-Ryan</p>]]>
    </content>
    <published>2009-05-08T18:32:18Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059151</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059151" />
    <title>Comment from Andrew Trice on 2009-05-08</title>
    <author>
        <name>Andrew Trice</name>
        <uri>http://www.tricedesigns.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.tricedesigns.com">
        <![CDATA[<p>I'm probably just using an older build.   As Ryan mentioned above, it would look a lot different if I grabbed the latest build.</p>]]>
    </content>
    <published>2009-05-08T18:32:36Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059224</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059224" />
    <title>Comment from Tink on 2009-05-09</title>
    <author>
        <name>Tink</name>
        <uri>http://www.tink.ws/blog</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://www.tink.ws/blog">
        <![CDATA[<p>It was crazy that Adobe didn't make it easy to use video in previous versions, when its video that really pushed the player penetration.</p>

<p>That said we've always just wrapped the FLVPlayback in a UIComponent.</p>]]>
    </content>
    <published>2009-05-09T20:43:48Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059249</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059249" />
    <title>Comment from Dan Orlando on 2009-05-10</title>
    <author>
        <name>Dan Orlando</name>
        <uri>http://danorlando.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://danorlando.com">
        <![CDATA[<p>Thanks for this Andrew, you da man!</p>

<p>I've been looking all over for something like this. </p>

<p>You Rock.</p>

<p>- DanO</p>]]>
    </content>
    <published>2009-05-10T12:08:46Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059250</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059250" />
    <title>Comment from Elad Elrom on 2009-05-10</title>
    <author>
        <name>Elad Elrom</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Michael Lallemont and Dev you can skin the component see here:<br />
<a href="http://elromdesign.com/blog/2009/05/09/skinning-fxvideodisplay-flash-10-component/comment-page-1/#comment-16783">http://elromdesign.com/blog/2009/05/09/skinning-fxvideodisplay-flash-10-component/comment-page-1/#comment-16783</a></p>]]>
    </content>
    <published>2009-05-10T12:29:59Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059251</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059251" />
    <title>Comment from Elad Elrom on 2009-05-10</title>
    <author>
        <name>Elad Elrom</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>Michael Lallemont and Dev you can skin the component see here:<br />
<a href="http://elromdesign.com/blog/2009/05/09/skinning-fxvideodisplay-flash-10-component/comment-page-1/#comment-16783">http://elromdesign.com/blog/2009/05/09/skinning-fxvideodisplay-flash-10-component/comment-page-1/#comment-16783</a></p>]]>
    </content>
    <published>2009-05-10T12:30:53Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2059493</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2059493" />
    <title>Comment from Paul on 2009-05-12</title>
    <author>
        <name>Paul</name>
        <uri>http://dayg.slingandstoneweb.com</uri>
    </author>
    <content type="html" xml:lang="en" xml:base="http://dayg.slingandstoneweb.com">
        <![CDATA[<p>This is great news! </p>

<p>It is definitely a very good improvement from the VideoDisplay component in Flex 3.</p>

<p>Thanks for sharing.</p>]]>
    </content>
    <published>2009-05-13T05:04:58Z</published>
  </entry>

  <entry>
    <id>tag:www.insideria.com,2009://34.36159-comment:2069968</id>
    <thr:in-reply-to ref="tag:www.insideria.com,2009://34.36159" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html"/>
    <link rel="alternate" type="text/html" href="http://www.insideria.com/2009/05/wow-video-in-flex-4-is-easy.html#comment-2069968" />
    <title>Comment from marouane on 2009-08-07</title>
    <author>
        <name>marouane</name>
        <uri></uri>
    </author>
    <content type="html" xml:lang="en" xml:base="">
        <![CDATA[<p>pleas somone of you know how to put a video in a fullscreen with flex builder 3    <br />
please.</p>]]>
    </content>
    <published>2009-08-07T15:35:45Z</published>
  </entry>

</feed
