is there a way you can disable menu or right click for a playing embeded video file (avi or mpeg). I know you can trap the right click for images with the following code, is there a way you can apply this to a video file ? :
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function noclick()
{
alert("TEXT");
return false;
}
function nocopy()
{
if(document.images)
for(i=0;i<document.images.length;i++)
document.images.onmousedown = noclick;
}
//-->
</SCRIPT>
</head>
<body OnLoad="nocopy()">
Thanx a lot.
<head>
<SCRIPT LANGUAGE="JavaScript">
<!--
function noclick()
{
alert("TEXT");
return false;
}
function nocopy()
{
if(document.images)
for(i=0;i<document.images.length;i++)
document.images.onmousedown = noclick;
}
//-->
</SCRIPT>
</head>
<body OnLoad="nocopy()">
Thanx a lot.