* 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