You mentioned in your presentation a few days ago that you had a question out to another developer about this. Just checking to see if there's been any progress. Thanks!
And great presentation!
He's on PTO until Tuesday, hopefully he'll have an answer soon thereafter.
1 person found this helpful
With the OSMFPlayer sample, the main media element gets added to a MediaContainer instance. By changing the layoutMetadata properties of the media element, its position and size can be controlled.
// Set layout metadata: var layoutMetadata:LayoutMetadata = new LayoutMetadata(); layoutMetadata.top = 0; layoutMetadata.left = 0; layoutMetadata.right = 0; layoutMetadata.bottom = 100; layoutMetadata.scaleMode = ScaleMode.LETTERBOX; layoutMetadata.horizontalAlign = HorizontalAlign.CENTER; result.addMetadata(LayoutMetadata.LAYOUT_NAMESPACE, layoutMetadata);
Inserting the above snippet of code at line 163 of OSMFPlayer.as would results in the content not being shown behind the control bar. The position of the control bar itself can be tweaked by changing the values in the src/assets/configuration.xml file.