2 Replies Latest reply on Jun 17, 2010 9:55 AM by bringrags

    Fullscreen video - How do ya do it?

    foolish3737 Level 1

      I have a button to toggle Fullscreen for my OSMF player. It runs a function to enter fullscreen mode:




           stage.displayState = "fullScreen";
           stage.displayState = "normal";




      My question is, what is the preferred method of setting the video to scale up? Cuz right now it doesn't.

      I've read about passing LayoutMetadata to the MediaElement to resize the video. Is this the best method for doing this? Also, how do I get the video to maintain its aspect ratio at the same time?