I am trying to center the OSMF Player on browser resize, but the exposed x/y properties for both MediaPlayerSprite and it's container don't work:
_mediaplayerSprite.x = x;
_mediaplayerSprite.y = y;
_mediaplayerSprite.mediaContainer.x = x;
_mediaplayerSprite.mediaContainer.y = y;
When using the standard StageVideo (without OSMF), they have a "pan" property which didn't work for me either, but had to adjust the "viewport" property to successfully center it.
What's the best way for going about this?