Comunidad de diseño web y desarrollo en internet online

Detector de shockwave Player

Citar            
MensajeEscrito el 06 Jul 2005 09:52 am
Hola!! Soy nueva en esto del Flash, he oido que hay una manera de saber si un usuario tiene o no instalado el Shockwave Player y por tanto si puede ver la pagina o no, y que si no lo tiene instalado lo instala directamente.
Estoy haciendo una pagina de un tema q nada tiene q ver con este mundillo y por tanto soy consciente q si te pregunta si quieres instalar algo q no sabes ni lo q significa, vas a decir que no!! y es una pagina de una empresa, que se puede hacer con este problema???

Tiene solucion?? Cual es??? Esto que he oido es cierto??

Muchas gracias, y perdonar mi desconocimiento de la materia :(

Salu2

Por binka

0 de clabLevel



Genero:Femenino  

msie
Citar            
MensajeEscrito el 09 Jul 2005 11:03 pm
En realidad el 80 o 90% de los usuarios tienen flash instalado, actualmente esto no representa un problema. para nada!!.... el que no lo tiene no puede ver casi ninguna página de la red, poner el detector de flash no hace mucha falta, casi nada. O peor aún es poner una página antes de entrar al sitio que pregunte si tenes flash instalado o no, es algo que queda muy bonito pero "Moleto" y que está muy de moda en página de diseñadores web.

Este es el script que tenés que usar para que tu página detecte flash:

Código :

<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html;  charset=ISO-8859-1">
<TITLE>flash</TITLE>
</HEAD>
<BODY bgcolor="#FFFFFF">
<!-- URL's used in the movie-->
<!-- text used in the movie-->
<!--Decteción Flash--><!-- image map -->
<MAP NAME="flash">

</MAP>

<SCRIPT LANGUAGE=JavaScript1.1>
<!--
var MM_contentVersion = 6;
var plugin = (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]) ? navigator.mimeTypes["application/x-shockwave-flash"].enabledPlugin : 0;
if ( plugin ) {
      var words = navigator.plugins["Shockwave Flash"].description.split(" ");
       for (var i = 0; i < words.length; ++i)
       {
      if (isNaN(parseInt(words[i])))
      continue;
      var MM_PluginVersion = words[i]; 
       }
   var MM_FlashCanPlay = MM_PluginVersion >= MM_contentVersion;
}
else if (navigator.userAgent && navigator.userAgent.indexOf("MSIE")>=0 
   && (navigator.appVersion.indexOf("Win") != -1)) {
   document.write('<SCR' + 'IPT LANGUAGE=VBScript\> \n'); //FS hide this from IE4.5 Mac by splitting the tag
   document.write('on error resume next \n');
   document.write('MM_FlashCanPlay = ( IsObject(CreateObject("ShockwaveFlash.ShockwaveFlash." & MM_contentVersion)))\n');
   document.write('</SCR' + 'IPT\> \n');
}
if ( MM_FlashCanPlay ) {
      document.write('<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"');
   document.write('  codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" ');
   document.write(' ID="flash" WIDTH="400" HEIGHT="400" ALIGN="">');
   document.write(' <PARAM NAME=movie VALUE="flash.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=wmode VALUE=transparent> <PARAM NAME=bgcolor VALUE=#FFFFFF>  '); 
   document.write(' <EMBED src="flash.swf" quality=high wmode=transparent bgcolor=#FFFFFF  ');
   document.write(' swLiveConnect=FALSE WIDTH="400" HEIGHT="400" NAME="flash" ALIGN=""');
   document.write(' TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer">');
   document.write(' </EMBED>');
   document.write(' </OBJECT>');
} else{
   document.write('<IMG SRC="flash.gif" WIDTH="400" HEIGHT="400" usemap="#flash" BORDER=0>');
}
//-->
</SCRIPT><NOSCRIPT><IMG SRC="flash.gif" WIDTH="400" HEIGHT="400" usemap="#flash" BORDER=0></NOSCRIPT>
</BODY>
</HTML>


Donde dice flash.gif es donde ponés un cartelito que siga "Usted no posee flash instalado por favor haga clic aquí para instalarlo, siguiendo las instrucciones."

Espero que te sirva.

Saludos

Por paraguila

189 de clabLevel



Genero:Femenino  

Argentina

msie

 

Cristalab BabyBlue v4 + V4 © 2011 Cristalab
Powered by ClabEngines v4, HTML5, love and ponies.