locked
Media Player is not supported in SP 2010 RRS feed

  • Question

  • Hi All,

    The below code is not supported in SP 2010, Please let me know how to fix that issues.

    <OBJECT ID="MediaPlayer1" width=320 height=260
    classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"
    codebase="_http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,4,5,715"
    standby="Loading Microsoft® Windows® Media Player components..." 
    type="application/x-oleobject">
    <PARAM NAME="FileName" VALUE=""> 
    </OBJECT>
    function videoPlay(file) {
    MediaPlayer1.FileName=file
    }

    When i load the above function in sp 2010 page, i'm getting the error message as "Media Player1 is undefined".

    Thanks,


    Senthil

    Thursday, August 2, 2012 10:03 AM