Hi,
I am trying to create a flex wrapper for Strobe Media Playback.
It works fine in Normal stage, but stream is not displayed in fullScreen mode even if I can hear the audio.
Can anybody please help me?
I am using Strobe Media Player 1.6 and OSMF 1.6,
My wrapper is like :
<?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”
creationComplete =”init(event)”>
<fx:Declarations>
<!– Place non-visual elements (e.g., services, value objects) here –>
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.core.UIComponent;
private const HTTP:String = "http://mediapm.edgesuite.net/osmf/content/test/manifest-files/dynamic_ Streaming.f4m";
protected function init(event:Event):void
{
var playerInstance:StrobeMediaPlayback = new StrobeMediaPlayback();
var ui:UIComponent = new UIComponent();
var parameters:Object = {
src:HTTP,
controlBarMode:"floating ",
controlBarAutoHide:"fals e"
};
playerInstance.initialize(parameters, systemManager.stage, systemManager.loaderInfo, null);
ui.addChild(playerInstance as DisplayObject);
addElement(ui);
}
]]>
</fx:Script>
</s:Application>
|||
Hi,
cam you make the flex background and components backgrounds transparrent or disabled?
Stagevideo draws by design behind everything; having a non-transparent part in front of the video blocks it.
It seems you do not encounter it in window mode since you do not use wmode=direct for the swf.
S.
|||
Hi Silva,
Yes it works!
Thank you so much.
You save my time.
|||
Hi seokjoon,
can you post what you did for this issue to overcome
|||
Hi,
I simply add backgroundAlpha property in Application.
so, the code looks like
<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”
creationComplete =”init(event)”
backgroundAlpha=”0″>
I hope it helps you.
Related posts:
- Strobe Media Playback 1.6 is here!
- Flex 4 QTP Add In – Nested Flex Component Disabled by Automation Library
- Change the color of selecteditem in a LIST FLEX
- Can I make a Flex mobile SMS/Keyboard “wrapper”
- Camera displays pink hue/color distortion when accessed in Flex Mobile Application on Android
Related posts brought to you by Yet Another Related Posts Plugin.