|I came across a business use case to create a video player that would play videos as well as display images in slideshow fashion. The requirements allowed for accepting the delay time in downloading the media assets before playing would begin, but I looked at a streaming technology or at least some sort of streaming-like approach that could be run for free. This "OSMF Player" AIR application shows an example of leveraging the org.osmf packages and various classes from these packages (org.osmf.containers, org.osmf.elements, org.osmf.events, org.osmf.layout, org.osmf.media, org.osmf.net, and org.osmf.utils) to play videos, swfs, mp3s, and display images within a desktop application without having to wait for the media to be downloaded before playback begins. OSMF also supports the F4M format where source video files can be prepared in segments with a tool such as the Adobe F4F Packager that packages on-demand media that can be streamed through HTTP. The Open Source Media Framework (OSMF) technology is quite amazing and what I chose to use for this example application. If you have never evaluated OSMF, I believe it is well worth a look and see. To learn more go here: Open Source Media Framework (OSMF)
Here's the resulting "OSMF Player" Adobe AIR application: OSMFPlayer.air. You will need to install the Adobe AIR runtime if you do not already have it installed.
This Captivate demo shows the application in action:
Captivate Video demo of the AIR application
A screenshot of the application shows a simple UI - a play/pause button, a stop button, a toggle fullscreen button, a progress bar, two controls (one toggles the video/image source; the other toggles the video/image scaling), and the main viewing area. Thanks to M. Wróblewski - http://flexibleair.wordpress.com/ for the AS3 class that leverages the OSMF functionality.
The next screenshot shows the application displaying an image.
The last screenshot shows the application displaying a prepared F4M segmented video.