FACILITATING AUDIO AND VIDEO
503
</s:Rect>
<mx:UIComponent id="mediaHolder" />
<s:TextInput id="mediaPath" width="400" x="48" y="330"
text="rtmp://cp67126.edgefcs.net/ondemand/mediapm/strobe/content/test/SpaceAloneHD_sounas_640_500_short"/>
<s:Button x="456" y="331" label="Play" click="playVideoURL(mediaPath.text)"/>
<s:Button x="534" y="331" label="Pause" click="mediaPlayer.pause()"/>
</s:Application>
The toolkit and documentation are available for download at:
www.OpenSourceMediaFramework.com
You can find more information at the OSMF developer forums:
http://forums.adobe.com/community/opensource/osmf/developers
and at the OSMF User Group:
http://groups.adobe.com/groups/7af970e6e4/summary
Summary
In this chapter we introduced you to video and audio using the Flash platform. We covered the supported
video and audio formats such as FLV and MPEG-4. We then looked at encoding video for Flash
applications by compressing video files using the Adobe Media Encoder. We examined the difference
between streaming and progressive download, and looked at creating custom music and video players.
We showed you how to create a simple video player using the Flex 4 component out of the box, and how
to embed a video file in Flash Player 10. Finally, we covered Adobe Open Screen Media Framework
(OSMF).
CHAPTER 14
504
Get AdvancED Flex 4 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.