point 2 is workaround to make it sure it display everytimes, but it disables the performance gains from stageVideo.

I finally got everything clear now i think:

as it is said in the link, justin provided, the stageVideo is displaid under the Display list, so everything that is drawn above 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.

Trying to have stageVideo usage as default behavior would require changes that would be issue for backward compatibility of visual designs. (like backgroundAlpha to 0 as default) So the safest solution is to set OSMFSettings.enableStageVideo = false; in SDK and tell that Flex SDK don't use stageVideo by default (like it was the case with previous versions).
but if someone wants to use stageVideo, he must:
1- call OSMFSettings.enableStageVideo = true; at App creationComple for example (depends where you put the false set in SDK)
2- add backgroundAlpha="0" to App
3- use a custom skin for VideoPlayer component, in which he deletes the black background Rect
4- add wmode="true" to get stageVideo in non fullscreen state also

in any cases, we can't let 4.11 default behavior with this bug.

Seb

Le 29/10/2013 00:58, Justin Mclean a écrit :
Hi,

Looks like this[1] explains the issue and conains workarounds.

1. Add backgroundAlpha="0" to the Application container
2. OSMFSettings.enableStageVideo = false;

We could do the second in the SDK but no idea if that is a good idea or not.

Thanks,
Justin

1. 
http://help.adobe.com/en_US/OSMF/1.0/Dev/WSc6f922f643dd2e6d-5718733812f2bec460d-7fff.html

Reply via email to