Flex 4.11 + OSMF 2.0 = bug
Hi, it seems i have a bug with the new release, whith use of OSMF 2.0 i installed flex SDK in Flash builder with the latests installer, created a project which only contains a VideoPlayer and set a source value to a mp4 file threw http protocol (its the same with RTMP protocol and a VideoElement value for source). The video play well, but the fullscreen does not show the image, only audio is working fine. Does anyone else has this issue? Thanks Seb
Re: Flex 4.11 + OSMF 2.0 = bug
Sebastien, I dont think we have control over OSMF features. Have you tried posting in the OSMF forums? [1] Thanks, Om [1] http://forums.adobe.com/community/opensource/osmf On Mon, Oct 28, 2013 at 2:36 PM, sébastien Paturel sebpatu.f...@gmail.comwrote: Hi, it seems i have a bug with the new release, whith use of OSMF 2.0 i installed flex SDK in Flash builder with the latests installer, created a project which only contains a VideoPlayer and set a source value to a mp4 file threw http protocol (its the same with RTMP protocol and a VideoElement value for source). The video play well, but the fullscreen does not show the image, only audio is working fine. Does anyone else has this issue? Thanks Seb
Re: Flex 4.11 + OSMF 2.0 = bug
Hi, Any chance you can provide some example code showing the issue? Thanks, Justin
Re: Flex 4.11 + OSMF 2.0 = bug
thats why i asked here first :) after some more tests here is what i have: even without using Videolayer, meaning only using Sprite containing the OSMF component i still have the bug. but it is working fine with flex 4.10 and it is working fine with 4.11 if i disable stageVideo in OSMF with OSMFSettings.enableStageVideo = false; so the conclusion could be that it comes from OSMF and not flex, but when i test strobeMediaPlayer with same video here: http://osmf.org/dev/2.0gm/setup.html and i enable stageVideo, it is working fine also. or this player is also based on OSMF 2.0 it seems that flex application itself prevent fullscreen to be done. i think it has to do with wmode. Le 28/10/2013 22:50, Jeff Tapper a écrit : Do we know if it is an OSMF issue, or a Flex one? If OSMF 2.0 works fine with Flex 4.9 SDK (does it?), but not with 4.11, it seems something in the recent release here might have broken it. -Original Message- From: omup...@gmail.com [mailto:omup...@gmail.com] On Behalf Of OmPrakash Muppirala Sent: Monday, October 28, 2013 5:42 PM To: dev@flex.apache.org Subject: Re: Flex 4.11 + OSMF 2.0 = bug Sebastien, I dont think we have control over OSMF features. Have you tried posting in the OSMF forums? [1] Thanks, Om [1] http://forums.adobe.com/community/opensource/osmf On Mon, Oct 28, 2013 at 2:36 PM, sébastien Paturel sebpatu.f...@gmail.comwrote: Hi, it seems i have a bug with the new release, whith use of OSMF 2.0 i installed flex SDK in Flash builder with the latests installer, created a project which only contains a VideoPlayer and set a source value to a mp4 file threw http protocol (its the same with RTMP protocol and a VideoElement value for source). The video play well, but the fullscreen does not show the image, only audio is working fine. Does anyone else has this issue? Thanks Seb
Re: Flex 4.11 + OSMF 2.0 = bug
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
Re: Flex 4.11 + OSMF 2.0 = bug
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