[
https://issues.apache.org/jira/browse/FLEX-33856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807599#comment-13807599
]
sebastien Paturel commented on FLEX-33856:
------------------------------------------
For information to any viewer: if you need to activate stageVideo in your
project, wether you use OSMF directly or the VideoPlayer component you need to:
1- call OSMFSettings.enableStageVideo = true; at Application container
creationComple event
2- add backgroundAlpha="0" to Application container
3- use a custom skin for VideoPlayer component, in which you delete the black
background Rect that is under VideoDisplay with comment "background when the
videoDisplay doesn't fill its whole spot "
4- add wmode="true" in your app html wrapper to get stageVideo in non
fullscreen state also
> no video displaid by VideoPlayer when goes fullscreen
> -----------------------------------------------------
>
> Key: FLEX-33856
> URL: https://issues.apache.org/jira/browse/FLEX-33856
> Project: Apache Flex
> Issue Type: Bug
> Components: Spark: VideoPlayer
> Affects Versions: Apache Flex 4.11.0
> Environment: Tested on windows 7, FlashPlayer, Firefox, but should be
> there everywhere
> Reporter: sebastien Paturel
> Labels: fullscreen, osmf, video
> Original Estimate: 0.25h
> Remaining Estimate: 0.25h
>
> By default, OSMF 2 that is new in 4.11 bundle use stageVideo when goes to
> fullscreen. and the result is that by default, a flex projects using a
> VideoPlayer component, will get no image when in fullscreen, because of
> component Rect background that will be drawn above video image, in stageVideo
> mode.
> Fix:
> add OSMFSettings.enableStageVideo = false; call before the CreationComplete
> event dispatch of the main Application.
> So that we are sure that stageVideo is not used, as it was for previous
> versions.
> But theres still a way to get stageVideo enabled in a flex projects.
> Thanks
--
This message was sent by Atlassian JIRA
(v6.1#6144)