locked
Reg player object in deployment RRS feed

  • Question

  • User-1429687032 posted

    Hai all ,

         I am using the media played to play videos in my website.But it s playing in local host.But if i deployed the site ,the video is not playing.Only the blank player is displayed.

    below the code used for player.

    strLiteralObject = strLiteralObject & "<object classid='CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6' id='player' " & strPlayerWidthAndHeight & " standby='Please wait while the object is loaded...'>"
            strLiteralObject = strLiteralObject & "<param name='url' value='" & strFileName & "' />"
            strLiteralObject = strLiteralObject & "<param name='src' value='" & strFileName & "' />"
            strLiteralObject = strLiteralObject & "<param name='AutoStart' value='true' />"
            strLiteralObject = strLiteralObject & "<param name='Balance' value='0' />"
            '-100 is fully left, 100 is fully right. 
            strLiteralObject = strLiteralObject & "<param name='CurrentPosition' value='0' />"
            'Position in seconds when starting.
            strLiteralObject = strLiteralObject & "<param name='showcontrols' value='true' />"
            'Show play/stop/pause controls. 
            strLiteralObject = strLiteralObject & "<param name='enablecontextmenu' value='true' />"
            'Allow right-click. 
            strLiteralObject = strLiteralObject & "<param name='fullscreen' value='false' />"
            'Start in full screen or not.
            strLiteralObject = strLiteralObject & "<param name='mute' value='false' />"
            strLiteralObject = strLiteralObject & "<param name='PlayCount' value='1' />"
            'Number of times the content will play.
            strLiteralObject = strLiteralObject & "<param name='rate' value='1.0' />"
            '0.5=Slow, 1.0=Normal, 2.0=Fast 
            strLiteralObject = strLiteralObject & "<param name='uimode' value='full' />"
            ' full, mini, custom, none, invisible 
            strLiteralObject = strLiteralObject & "<param name='showdisplay' value='true' />"
            'Show or hide the name of the file. 
            strLiteralObject = strLiteralObject & "<param name='volume' value='50' />"
            ' 0=lowest, 100=highest 
            strLiteralObject = strLiteralObject & "</object>"

    Thanks in advance

    Tuesday, September 27, 2011 5:19 AM

Answers

  • User1918766559 posted

    IIS does not execute Javascript as it's working on local client browser.

    The Clsid is commented & id='player' is also. Try to check the scipt.

    Check your broswer settings & remove the site if it's added in the trusted site of IE.

     

     

     

    Thanks,

    Anindita

    http://anindita9.wordpress.com

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 28, 2011 5:39 AM

All replies

  • User1918766559 posted

    IIS does not execute Javascript as it's working on local client browser.

    The Clsid is commented & id='player' is also. Try to check the scipt.

    Check your broswer settings & remove the site if it's added in the trusted site of IE.

     

     

     

    Thanks,

    Anindita

    http://anindita9.wordpress.com

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, September 28, 2011 5:39 AM
  • User-1429687032 posted

    Still my media player object is not playing the specified video in IIS.Simply the player is displyed.

     

    Please help me out.It's urgent

    Friday, September 30, 2011 2:39 AM
  • User1918766559 posted

    Check the javascript settings of your IE, what's the version of IIS ?

     

     

     

     

     

    Thanks,

    Anindita

    http://anindita9.wordpress.com

     

     

    Friday, September 30, 2011 8:06 AM