"Consistency is the last refuge of the unimaginative.", Oscar Wilde
"Probably the best wish for a dreamer: Be underestimated", 잫읻 젤지옥루
RSS icon Home icon
  • Flash HD Video Players’ Common Mistake

    Posted on March 27th, 2009 Cahit Crcioglu 2 comments

    People are using flash’s fullscreen ability in the wrong way; they are not using the advantage of hardware-acceleration enough.

    I have made a flash player (not-hd supported) in 2005 from scratch. It wasn’t using any flash component related to video playback. So it was’t using skins. Starting from those days, nothing really much changed when opening video in fullscreen.

    After sometime, adobe gave us a big update which lets us use h264 codec in flash. Internet connections got faster and faster, h264 hardware acceleration was started to be used in graphics cards and in many different kinds of devices.

    However  we see many blog posts, articles, tutorials about “how to go into fullscreen” or “true fullscreen mode in flash” or smiliar topics..

    Nearly all of them says we have to use the following:

    function toggleFullScreen(){
        if(Stage["displayState"]=="normal"){
            Stage["displayState"]="fullScreen";
        } else{
            Stage["displayState"]="normal";
        }
    }
    // OR "stage.displayState = StageDisplayState.FULL_SCREEN;"
    // according to the version you use

    Ok. This is not wrong. Infact, you have to do it. But this is not the right way to do it, i was possibly one of the first ones who asked this to adobe, i got no answer and interestingly nobody said anything about my question. ( it was open to public ) After sometime, i saw that that is what it should be. Now i’ll tell you what i’m talking about:

    Read the rest of this entry »