Answered How IE finds Flash Player version???

  • 5. března 2012 14:58
     
     

    Hi,

    How IE identifies installed flash player is old and you need to install new one

    For Ex:

    When you open a webpage IS displays a message

    "You need to upgrade your Adobe Flash Player to watch this video."

    I would like to know

    1) Complete process how IE finds the version info of current installed and get the new one

    2) Which are interfaces need to be implemented by a ActiveX to support this kind of behavior

    I am developing an ActiveX control and I would like to do the same..

    Please help me....

    I am posting in multiple forms to get the quick response.Sorry for this....

    Regards,

    Ramanujam

Všechny reakce

  • 5. března 2012 15:00
     
     

    Hi,

    How IE identifies installed flash player is old and you need to install new one
    For Ex:
    When you open a webpage IS displays a message
    "You need to upgrade your Adobe Flash Player to watch this video."

    I would like to know
    1) Complete process how IE finds the version info of current installed and get the new one
    2) Which are interfaces need to be implemented by a ActiveX to support this kind of behavior

    I am developing an ActiveX control and I would like to do the same..

    Please help me....

    I am posting in multiple forms to get the quick response.Sorry for this....

    Regards,
    Ramanujam

  • 5. března 2012 15:24
     
     
    I don't think it is IE the one that dictates the component is outdated.  I think webpage developers include this check in their Javascript.  I could be wrong, though, I would love to hear a different opinion.

    Jose R. MCP

  • 5. března 2012 16:24
     
     

    It's not IE, it's Adobe Flash Player itself which determines that it is out-of-date, or can't handle the object data embedded in the web page.

    Please do not multipost, unless you copy in the hyperlinks to the other posts. It is very aggravating for posters to research answers only to discover that the question was answered elsewhere. Be considerate of other people's time.

  • 5. března 2012 17:34
     
     Odpovědět

    On 3/5/2012 9:58 AM, Ramanujam Win32 developer wrote:

    How IE identifies installed flash player is old and you need to install new one

    1) Complete process how IE finds the version info of current installed and get the new one

    The current version number is in the Version resource of the control's DLL.

    The HTML of the page uses codebase= attribute of the <object> tag to specify the minimum required version number, and tell the browser where to get it if necessary.

    2) Which are interfaces need to be implemented by a ActiveX to support this kind of behavior

    None.

    I am developing an ActiveX control and I would like to do the same..

    http://msdn.microsoft.com/en-us/library/ie/aa741207.aspx


    Igor Tandetnik

  • 6. března 2012 10:57
     
     

    Hi Igor and Jose,

    Thanks for your reply.....

    I had gone through the link specified by Igor....It is good....But it is obsolete as of IE 7.....

    Before implementing this kind of logic I am trying to understand How Flash ActiveX works with respect to downloading a new flash player version......

    For Ex:

    1) Just type Youtube

    2) In the first page of youtube, there is a flash

    3) Open the source code and it looks like they are detecting the flash version using scripts....

    Could you please help me to understand how they are doing??

    Thanks & Regards,

    Ramanujam

  • 7. března 2012 7:25
    Moderátor
     
     Odpovědět

    Hello,

    As far as I know, you can use JavaScript to get the Flash Player version. Please follow the Retrieving Flash Player version info section in this document
    http://www.adobe.com/devnet/flashplayer/articles/swfobject.html

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us

  • 7. března 2012 17:15
     
     

    Thanks for your reply............

    I have couple of questions

    1) Does the identification of flash version varies from website to website???For Ex: Youtube can have JAVA script to identify version of flash and Yahoo can have a different JAVA script to identify version of flash  ???

    2) How actually JAVA script identifies flash version???

    Could you please help me???

    Regards,

    Ramanujam

  • 12. března 2012 4:24
     
     

    Any updates on above questions??

    Thanks & Regards,

    Ramanujam

  • 13. března 2012 3:22
    Moderátor
     
     

    Hello,

    As far as I know, the function to get the Flash version is provide by the Flash object which is an ActiveX control. This function is defined in ActiveX control.

    I think the JavaScript function should be the same in the different website, because the public function in ActiveX is fixed.

    For more information about how to call the ActiveX function through JavaScript, please check this thread.

    http://social.msdn.microsoft.com/forums/en-US/iewebdevelopment/thread/a162cc32-f559-4a2a-9221-67782bcdc129

    Best regards,
    Jesse


    Jesse Jiang [MSFT]
    MSDN Community Support | Feedback to us