flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "sebastien Paturel (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLEX-33856) no video displaid by VideoPlayer when goes fullscreen
Date Tue, 29 Oct 2013 02:36:30 GMT

    [ https://issues.apache.org/jira/browse/FLEX-33856?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13807603#comment-13807603
] 

sebastien Paturel commented on FLEX-33856:
------------------------------------------

Here are some detailed explanations about this issue:
as it is said in this link: http://help.adobe.com/en_US/OSMF/1.0/Dev/WSc6f922f643dd2e6d-5718733812f2bec460d-7fff.html

the stageVideo is displaid under the Display list, so everything that is drawn in the display
list can obscure or hide the video in this mode.
in flex, by default stageVideo is not used for video not in fullscreen state (because it assumes
that theres too much risks to get something above it)
and by default in fullscreen it will activate the stageVideo, because it assumes that everything
else is hidden.

in flex app, by default backgroundAlpha being not null, it will obscure the video when it
uses stageVideo, so it hides the video in fullscreen even if we use directly OSMF components.
That is the bug i had in 4.11

if you add wmode="direct" in app html wrapper, it will force videos to use stageVideo everytime,
that means also in non fullscreen mode.
thats why if you set this mode in 4.11, it hides the video everytime!

So without VideoPlayer component:
we just need to set backgroundAlpha="0" and it will fix fullscreen, and non fullscreen with
wmode=true.

But for the VideoPlayer SDK's component, it is not enough!
We still have 4.11 bug with: no video displaid at fullscreen + no video even in non fullscreen
with wmode="true"
That is because of the videoPlayer's skin which contains a black background Rect under VideoDisplay,
which will be displaid above video in stageVideo mode. 

> 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)

Mime
View raw message