I've a problem in my OSMF based player. I'm using a xml config file to create a composite media element. The xml looks like this:
and the working player can be found here: http://www.pszajna.ires.pl/player/.
The playback works fine but the problem occures when seeking parallel element. Media element size doesn't always fit the media container (they are displayed in their original size). What may I be doing wrong? Or perhaps this is a bug?
The layout in OSMF does not always does as expected especially in composites.
There are several bugs already registered in OSMF JIRA that may be relative to your case:
So I gues your problem is of the same source.
My personal experiments have led me to conclusion that no element having a DisplayObjectTrait should be placed to parallel before it (the parallel) is placed in MediaContainer or element already in MediaContainer. So if you have some UI placed there or some beacon pixel the layout gets measured incorrectly and becomes unpredictable. Here are some links on that forum you may want to try:
Thanks for the reply. I think it's the exact same problem in my case as in the reported bugs. I've found an interesting behaviour of the media container. If I will modify layoutmetadata property of a main_media_container->inner_container (example: change inner_container.layoutMetadata.includeInLayout) - media elements aren't displayed in inner_container - displayed media element size is being corrected.