Ver Mensaje Individual
  #54 (permalink)  
Antiguo 09/12/2002, 20:19
Avatar de CORE
CORE
Usuario no validado
 
Fecha de Ingreso: abril-2002
Ubicación: Merida
Mensajes: 2.165
Antigüedad: 22 años
Puntos: 3
54 Detectar Plugins

P ¿Como detecto flash player?

R
Código PHP:
<script language="JavaScript">
<!--
function 
MM_checkPlugin(plgIntheURLaltURLautoGo) {
  var 
ok=falsedocument.MM_returnValue false;
  
with (navigator) if (appName.indexOf('Microsoft')==-|| (plugins && plugins.length)) {
    
ok=(plugins && plugins[plgIn]);
  } else if (
appVersion.indexOf('3.1')==-1) {
    if (
plgIn.indexOf("Flash")!=-&& window.MM_flash!=nullok=window.MM_flash;
    else if (
plgIn.indexOf("Director")!=-&& window.MM_dir!=nullok=window.MM_dir;
    else 
ok=autoGo; }
  if (!
oktheURL=altURL; if (theURLwindow.location=theURL;
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_checkPlugin('Shockwave Flash','index.html','http://www.macromedia.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash&amp;Lang=LatinAmerica&amp;P5_Language=Spanish',true);return document.MM_returnValue"> 


P¿Como detecto shockwave player?
R
Código PHP:
<script language="JavaScript">
<!--
function 
MM_checkPlugin(plgIntheURLaltURLautoGo) { //v4.0
  
var ok=falsedocument.MM_returnValue false;
  
with (navigator) if (appName.indexOf('Microsoft')==-|| (plugins && plugins.length)) {
    
ok=(plugins && plugins[plgIn]);
  } else if (
appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    
if (plgIn.indexOf("Flash")!=-&& window.MM_flash!=nullok=window.MM_flash;
    else if (
plgIn.indexOf("Director")!=-&& window.MM_dir!=nullok=window.MM_dir;
    else 
ok=autoGo; }
  if (!
oktheURL=altURL; if (theURLwindow.location=theURL;
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_checkPlugin('Shockwave for Director','index.html','http://www.macromedia.com/shockwave/download/download.cgi?Lang=LatinAmerica&amp;P5_Language=Spanish',true);return document.MM_returnValue"> 
P ¿Como detecto live audio?

R
Código PHP:
<script language="JavaScript">
<!--
function 
MM_checkPlugin(plgIntheURLaltURLautoGo) { //v4.0
  
var ok=falsedocument.MM_returnValue false;
  
with (navigator) if (appName.indexOf('Microsoft')==-|| (plugins && plugins.length)) {
    
ok=(plugins && plugins[plgIn]);
  } else if (
appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    
if (plgIn.indexOf("Flash")!=-&& window.MM_flash!=nullok=window.MM_flash;
    else if (
plgIn.indexOf("Director")!=-&& window.MM_dir!=nullok=window.MM_dir;
    else 
ok=autoGo; }
  if (!
oktheURL=altURL; if (theURLwindow.location=theURL;
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_checkPlugin('LiveAudio','index.html','http://www.live-audio.com/',true);return document.MM_returnValue"> 
P¿Como detecto Netscape Media Player?
R
Código PHP:
<script language="JavaScript">
<!--
function 
MM_checkPlugin(plgIntheURLaltURLautoGo) { //v4.0
  
var ok=falsedocument.MM_returnValue false;
  
with (navigator) if (appName.indexOf('Microsoft')==-|| (plugins && plugins.length)) {
    
ok=(plugins && plugins[plgIn]);
  } else if (
appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    
if (plgIn.indexOf("Flash")!=-&& window.MM_flash!=nullok=window.MM_flash;
    else if (
plgIn.indexOf("Director")!=-&& window.MM_dir!=nullok=window.MM_dir;
    else 
ok=autoGo; }
  if (!
oktheURL=altURL; if (theURLwindow.location=theURL;
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_checkPlugin('Netscape Media Player','index.html','http://rc.lrs.lt:8080/n/media/nmplaydn.html',true);return document.MM_returnValue"> 
P¿Como detecto quick time?
R
Código PHP:
<script language="JavaScript">
<!--
function 
MM_checkPlugin(plgIntheURLaltURLautoGo) { //v4.0
  
var ok=falsedocument.MM_returnValue false;
  
with (navigator) if (appName.indexOf('Microsoft')==-|| (plugins && plugins.length)) {
    
ok=(plugins && plugins[plgIn]);
  } else if (
appVersion.indexOf('3.1')==-1) { //not Netscape or Win3.1
    
if (plgIn.indexOf("Flash")!=-&& window.MM_flash!=nullok=window.MM_flash;
    else if (
plgIn.indexOf("Director")!=-&& window.MM_dir!=nullok=window.MM_dir;
    else 
ok=autoGo; }
  if (!
oktheURL=altURL; if (theURLwindow.location=theURL;
}
//-->
</script>
</head>

<body bgcolor="#FFFFFF" text="#000000" onLoad="MM_checkPlugin('QuickTime Plug-In','index.html','http://www.apple.com/quicktime/download/',true);return document.MM_returnValue"> 

Última edición por CORE; 09/12/2002 a las 20:50