R – get the old full screen scaling with FLVPlayback and flash 9.0.115+

flashflvfullscreenscalingvideo

With previous versions of flash, entering the full screen mode increased the height and width of the stage to the dimensions of the screen. Now that hardware scaling has arrived, the height and width are set to the dimensions of the video (plus borders if the aspect ratio is different).

That's fine, unless you have controls placed over the video. Before, you could control their size; but now they're blown up by the same scale as the video, and pixellated horribly. Controls are ugly and subtitles are unreadable.

It's possible for the user to turn off hardware scaling, but all that achieves is to turn off anti-aliasing. The controls are still blown up to ugliness.

Is there a way to get the old scaling behaviour back?

Best Answer

Here's another way to solve it, which is simpler and it seems to work quite well for me.

myFLVPlayback.fullScreenTakeOver = false;

The fullScreenTakeOver property was introduced in Flash Player 9 update 3. The docs are all a bit vague, but there's a bit more info here:

Using the FLVPlayback component with Flash Player 9 Update 3

Related Topic