Monday, November 14, 2011

Video Player 4.5

The VideoPlayer control is a skinnable video player that supports progressive download, multi-bitrate streaming, and streaming video. The VideoPlayer control contains a full-featured UI for controlling video playback.
* Note 
 It supports playback of FLV and F4v files :)
 

VideoDisplay is the chromeless version that does not support skinning. It is useful when you do not want the user to interact with the control.


Here is the Sample code:

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
  xmlns:s="library://ns.adobe.com/flex/spark" 
  xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<s:VideoPlayer horizontalCenter="0" verticalCenter="0" 
  source="http://domain-name.com/filename.flv" 
  autoPlay="true"/>

</s:Application>

No comments:

Post a Comment