3 Replies Latest reply on Aug 2, 2010 3:22 PM by turbidwater

    Scaling Issues with SerialElement and video

    box86rowh Level 1

      I am trying work in scaling to my osmf project and cannot seem to make it properly stretch the video to fill the container.

      I use this line after i set the media:


      LayoutMetadata(mediaPlayer.media.getMetadata(LayoutMetadata.LAYOUT_NAMESPACE)).scaleMode = ScaleMode.STRETCH;


      and my stage is setup like this:


      stage.align = StageAlign.TOP_LEFT;
      stage.scaleMode = StageScaleMode.NO_SCALE;


      I am using a serialelement for the media.  When I pass in a single video element it works great.  But with the serialElement, it maintains the aspect ratio.


      Is this a bug? Or am I missing something?