Reputation: 12808
I'm working on a Air video player using OSMF framework -- mostly following code from here -- http://cookbooks.adobe.com/post_HTTP_Streaming_in_OSMF-17636.html.
I'm struggling to find a way to have the video display fullscreen. What params should I use that have the video fit the whole screen?
Upvotes: 0
Views: 916
Reputation: 624
Try this;
stage.displayState=StageDisplayState.FULL_SCREEN;
container.width = stage.stageWidth;
container.height = stage.stageHeight;
Upvotes: 2