We have build a custom VideoPlayer on top of OSMF..
We used a MediaContainer since the beginning of the project and listen MouseEvent.CLICK on it.
The VideoElement was resized and centered in the MediaContainer :
currentMediaContainer.layoutMetadata.scaleMode = ScaleMode.LETTERBOX;
currentMediaContainer.layoutMetadata.horizontalAlign = HorizontalAlign.CENTER; currentMediaContainer.layoutMetadata.verticalAlign = VerticalAlign.MIDDLE;
After setting OSMFSettings.enableStageVideo = true; everything go wrong
The VideoElement was resized but not centered.
=> For this problem, I try to calculate the new size and position and set a new viewPort on first StageVideo object on the stage (no success)
The click event from the MediaContainer is not dispatch.
The org.osmf.vast.mediaVAST2TrackingProxyElement from the VASTLibrary use this click to handle advertisement redirection and tracking. We could watch a videoAd but no click on it.
Any help would be appreciated
Brainsonic - Paris
please report the issues at http://bugs.adobe.com/jira/browse/FM .
From the top of my head, the stagevideo is behind everything else, so you might need to add a layer to intercept the clicks on the video.