Teo Choong Ping
Teo Choong Ping

Reputation: 12808

Fullscreen OSMF video player

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

Answers (1)

Ahmet Alsan
Ahmet Alsan

Reputation: 624

Try this;

stage.displayState=StageDisplayState.FULL_SCREEN;

container.width = stage.stageWidth;
container.height = stage.stageHeight;

Upvotes: 2

Related Questions