Web Design Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignWeb Design Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 2nd, 2004, 09:00 AM
toto_francois toto_francois is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2004
Posts: 1 toto_francois User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Disable Right clic menu with Netscape when embedding wmv files

Hi all,

I'm new to embedding files in webpages.

I want to embed a wmv file in the webpage but I don't want it to be downloadable...

so 3 questions:

- Is there a way using IE and Netscape to disable the "save as" option in the context menu of the vieo (right clic) ?

- Using the Object and Embed tags, I define numerous parameters for my video. It works perfectly with IE (except the save as), but when displayed using Mozilla, none of the parameters set are used...
please tell me what I'm doing wrong!

Here's the code I'm using:

-------------------------------------------------
<object
id="MediaPlayer"
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"
width="360"
height="288">
<PARAM NAME="FileName" VALUE="http://xxxxxxxxxxxxxxxxxxxxxx/drimis3.wmv">
<PARAM NAME="AnimationatStart" VALUE="1">
<PARAM NAME="TransparentatStart" VALUE="0">
<PARAM NAME="AutoStart" VALUE="0">
<PARAM NAME="ShowControls" VALUE="1">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="1">
<param name="CurrentMarker" value="1">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="4">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="0">
<param name="EnablePositionControls" value="1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="1">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="1">
<param name="ShowGotoBar" value="1">
<param name="ShowPositionControls" value="1">
<param name="ShowStatusBar" value="1">
<param name="ShowTracker" value="1">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-80">
<param name="WindowlessVideo" value="0">
<embed TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" SRC="http:// xxxxxxxxxxxxxxxx/drimis3.wmv" Name="MediaPlayer" AutoStart="0" AnimationatStart="0" ShowControls="1" Width="440" Height="380" </embed>
</OBJECT>
----------------------------------------------------

Thanks for your help

Reply With Quote
  #2  
Old January 10th, 2005, 01:33 AM
frogman2 frogman2 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2005
Posts: 1 frogman2 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
this might help!

Hi there, this might be a solution to your problems. I have a similar problem, i want people to be able to view my WMV's (from a CDROM not streaming) but i don't want them to be able to save it to their hard disk, otherwise my business is cactus!

And I found this - www.zappersoftware.com , they have a program called MovieGuard which enables you to encrypt wmv, AVI and others, and gives you the player to give to others, so they can views these files through the MovieGuard player. You don't have to change ur WMV's, MovieGuard will play them.

See how you go, although your customers will need the MovieGuard player, its the best thing i've found yet for protecting my WMV's, other than purchasing DRM licenses from Microsoft for a mere $30,000 startup fee, no thanks Bill.

peace, frogman2

Quote:
Originally Posted by toto_francois
Hi all,

I'm new to embedding files in webpages.

I want to embed a wmv file in the webpage but I don't want it to be downloadable...

so 3 questions:

- Is there a way using IE and Netscape to disable the "save as" option in the context menu of the vieo (right clic) ?

- Using the Object and Embed tags, I define numerous parameters for my video. It works perfectly with IE (except the save as), but when displayed using Mozilla, none of the parameters set are used...
please tell me what I'm doing wrong!

Here's the code I'm using:

-------------------------------------------------
<object
id="MediaPlayer"
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"
width="360"
height="288">
<PARAM NAME="FileName" VALUE="http://xxxxxxxxxxxxxxxxxxxxxx/drimis3.wmv">
<PARAM NAME="AnimationatStart" VALUE="1">
<PARAM NAME="TransparentatStart" VALUE="0">
<PARAM NAME="AutoStart" VALUE="0">
<PARAM NAME="ShowControls" VALUE="1">
<param name="AudioStream" value="-1">
<param name="AutoSize" value="1">
<param name="AllowScan" value="-1">
<param name="AllowChangeDisplaySize" value="-1">
<param name="AutoRewind" value="0">
<param name="Balance" value="0">
<param name="BaseURL" value>
<param name="BufferingTime" value="5">
<param name="CaptioningID" value>
<param name="ClickToPlay" value="-1">
<param name="CursorType" value="0">
<param name="CurrentPosition" value="1">
<param name="CurrentMarker" value="1">
<param name="DefaultFrame" value>
<param name="DisplayBackColor" value="0">
<param name="DisplayForeColor" value="16777215">
<param name="DisplayMode" value="0">
<param name="DisplaySize" value="4">
<param name="Enabled" value="-1">
<param name="EnableContextMenu" value="0">
<param name="EnablePositionControls" value="1">
<param name="EnableFullScreenControls" value="0">
<param name="EnableTracker" value="1">
<param name="InvokeURLs" value="-1">
<param name="Language" value="-1">
<param name="Mute" value="0">
<param name="PlayCount" value="0">
<param name="PreviewMode" value="0">
<param name="Rate" value="1">
<param name="SAMILang" value>
<param name="SAMIStyle" value>
<param name="SAMIFileName" value>
<param name="SelectionStart" value="-1">
<param name="SelectionEnd" value="-1">
<param name="SendOpenStateChangeEvents" value="-1">
<param name="SendWarningEvents" value="-1">
<param name="SendErrorEvents" value="-1">
<param name="SendKeyboardEvents" value="0">
<param name="SendMouseClickEvents" value="0">
<param name="SendMouseMoveEvents" value="0">
<param name="SendPlayStateChangeEvents" value="-1">
<param name="ShowCaptioning" value="0">
<param name="ShowAudioControls" value="-1">
<param name="ShowDisplay" value="1">
<param name="ShowGotoBar" value="1">
<param name="ShowPositionControls" value="1">
<param name="ShowStatusBar" value="1">
<param name="ShowTracker" value="1">
<param name="VideoBorderWidth" value="0">
<param name="VideoBorderColor" value="0">
<param name="VideoBorder3D" value="0">
<param name="Volume" value="-80">
<param name="WindowlessVideo" value="0">
<embed TYPE="application/x-mplayer2" pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=Media&sba=Plugin&" SRC="http:// xxxxxxxxxxxxxxxx/drimis3.wmv" Name="MediaPlayer" AutoStart="0" AnimationatStart="0" ShowControls="1" Width="440" Height="380" </embed>
</OBJECT>
----------------------------------------------------

Thanks for your help

Reply With Quote
  #3  
Old January 10th, 2005, 02:22 PM
prospector prospector is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2004
Posts: 82 prospector User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 h 28 m
Reputation Power: 4
Disabling the right click will not stop people from saving your work.
All it will do is make them mad that they can't browse your site the way they're used to by using right click to open a page in a new window or new tab.
They can still get your files from their cache or view the code and type it directly in the URL line then save it from the file menu.

Reply With Quote
  #4  
Old January 11th, 2005, 02:18 AM
c444l c444l is offline
contains a pressurised widget
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2003
Location: NC USA
Posts: 401 c444l User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 39 m 41 sec
Reputation Power: 5
Send a message via AIM to c444l Send a message via Yahoo to c444l
okay, so you've managed to disable right-click in every browser that I use.
I can still view the source, locate the wmv file name and invoke it directly.

Controlling the user to solve a problem is rude and ineffective.

Reply With Quote
  #5  
Old February 7th, 2005, 10:33 AM
jochum jochum is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2000
Location: In nederland
Posts: 41 jochum User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 40 m 2 sec
Reputation Power: 9
Quote:
Originally Posted by c444l
okay, so you've managed to disable right-click in every browser that I use.
I can still view the source, locate the wmv file name and invoke it directly.

Controlling the user to solve a problem is rude and ineffective.


So did anybody come up with an idea to solve the problem..

php files returning wmv files might be a possibility?

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignWeb Design Help > Disable Right clic menu with Netscape when embedding wmv files


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway
Stay green...Green IT