Disable Right Click on embedded Windows Media file

Discussion in 'Graphics & Multimedia' started by D4rKNull, Apr 3, 2006.

  1. #1
    How can i add disable right click on this media file video:

    
    <!-- begin embedded WindowsMedia file... -->
    <table border='0' cellpadding='0' align="center">
    <tr><td>
    <OBJECT id='mediaPlayer' width="500" height="500"
    classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
    codebase='http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701'
    standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
    <param name='fileName' value="mms://urlhere">
    <param name='animationatStart' value='true'>
    <param name='transparentatStart' value='true'>
    <param name='autoStart' value="true">
    <param name='showControls' value="true">
    <param name='loop' value="false">
    <EMBED type='application/x-mplayer2'
    pluginspage='http://microsoft.com/windows/mediaplayer/en/download/'
    id='mediaPlayer' name='mediaPlayer' displaysize='4' autosize='-1'
    bgcolor='darkblue' showcontrols="true" showtracker='-1'
    showdisplay='0' showstatusbar='-1' videoborder3d='-1' width="500" height="500"
    src="mms:urlhere1" autostart="true" designtimesp='5311' loop="false">
    </EMBED>
    </OBJECT>
    </td></tr>
    <!-- ...end embedded WindowsMedia file -->
    </td>
    </tr>
    </table>
    
    PHP:

     
    D4rKNull, Apr 3, 2006 IP
  2. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #2
    Why attempt it? Disabling right click is just like waving a red flag in front of bull - it makes it all that much more fund to work around.
     
    Smyrl, Apr 3, 2006 IP
  3. D4rKNull

    D4rKNull Peon

    Messages:
    154
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    0
    #3
    i dont want to show the mms link when they right click on the media player properties..how can i do that ?
     
    D4rKNull, Apr 3, 2006 IP
  4. VISTREL

    VISTREL Peon

    Messages:
    199
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #4
    try to disable all right clicks through java script first and if that won't work I don't think there is any other way since the software which uses WM files is on client side
     
    VISTREL, Apr 4, 2006 IP
  5. Smyrl

    Smyrl Tomato Republic Staff

    Messages:
    13,740
    Likes Received:
    1,702
    Best Answers:
    78
    Trophy Points:
    510
    #5
    And as a visitor and I want right click privileges all I have to do is turn off javascript.
     
    Smyrl, Apr 4, 2006 IP