Regístrate gratis¡Bienvenido a mundodvd! Regístrate ahora y accede a todos los contenidos de la web. El registro es totalmente gratuito y obtendrás muchas ventajas.
Blu-ray, DVD y cine en casa
Regístrate gratis!
Registro en mundodvd
+ Responder tema
Resultados 1 al 5 de 5

Tema: flash y html

  1. #1
    Caspa y señorío Avatar de Astolfo Hynkel
    Fecha de ingreso
    30 dic, 03
    Mensajes
    9,881
    Agradecido
    4 veces

    Predeterminado flash y html

    buenas

    mi cuñado tiene una tienda, y su hermano le ha hecho un flash para que ponga en su pagina web.

    Lo que pasa es que con cualquier editor html si añadimos el flash, luego el iexplorer nos pide confirmación para ejecutar el flash, como si de un activex se tratase.

    Como se puede hacer para evitar esto? hay muchas paginas en donde no se pide confirmación para ejecutar flash.

    No digais usar firefox por que no es una opción, la pagina se tiene que ver bien en los dos exploradores.

    Alguna ayuda compis?
    Firmar es de mediocres

  2. #2
    maestro Avatar de daysu
    Fecha de ingreso
    08 oct, 04
    Mensajes
    1,401
    Agradecido
    0 veces

    Predeterminado Re: flash y html

    Mira que en codigo fuente haya algo como esto:

    <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0"
    WIDTH=770 HEIGHT=420>
    <PARAM NAME=movie VALUE="flying_text.swf">
    <PARAM NAME=quality VALUE=high>
    <PARAM NAME=bgcolor VALUE=#000000>
    <EMBED src="flying_text.swf" quality=high bgcolor=#000000 WIDTH=770 HEIGHT=420 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
    </OBJECT>


    Es la primera pagina que he encontrado con flash y no pide nada ni en firefox ni en IE. mira si inserta el flash con la etiqueta object o con otra y usa la etiqueta embed tambien. No se cual es la más recomentable, pero esta veo que funciona, creo recordar que podias meter el flash con más etiquetas pero puede que una funcione mejor con firefox y viceversa.
    De todos modos mira que versión de IE, ya que de una version a otra cambia mucho lo que puedes ver y lo que no y que en tu configuración no tengas puesto que te avise antes de ejecutar activex.
    ... mas como Don Quijote tenía el sentido del olfato tan vivo como el de los oídos, y Sancho estaba tan junto y cosido con él, que casi por línea recta subían los vapores hacia arriba, no se pudo excusar de que algunos no se llegasen a sus narices, y apenas hubieron llegado, cuando él fue al socorro apretándolas entre los dos dedos, y con tono algo gangoso, dijo: Paréceme, Sancho, que tienes mucho miedo...

  3. #3
    Caspa y señorío Avatar de Astolfo Hynkel
    Fecha de ingreso
    30 dic, 03
    Mensajes
    9,881
    Agradecido
    4 veces

    Predeterminado Re: flash y html

    gracias!

    probaré esto
    Firmar es de mediocres

  4. #4
    freak Avatar de Jakijem
    Fecha de ingreso
    15 abr, 05
    Mensajes
    508
    Agradecido
    0 veces

    Predeterminado Re: flash y html

    Este problema aparece si tenemos Windows update habilitado, y utilizamos el Internet Explorer.Todo surgió cuando Microsoft perdió una batalla legal con Eolas, por el uso de plugins en páginas web.

    www.elpais.com/articulo/internet/cambio/Internet/Explorer/dificulta/interaccion/videos/animaciones/elpportec/20060308elpepunet_4/Tes

    de todas maneras, se arregla con un js externo: en la página donde esta embebido tu flash, pon el siguiente código en el <body>.

    <script type="text/javascript" src="/js/activateActiveX.js"></script>

    Crea en tu sitio una carpeta llamada js y dentro de esta crea un archivo js llamado activateActiveX.js, el código de este archivo es el siguiente:

    /*
    activateActiveX
    ---------------
    Purpose: Dynamically replace any elements that will be affected by the new security feature in IE6/IE7 that requires a user to click certain types of elements to activate them before use.

    Usage: Include this file at the end of your html document using the following...
    <script language="JScript" type="text/jscript" src="activateActiveX.js"></script>



    Since this script is in response to a software patent lawsuit, I feel it necessary to state the following...

    License:
    activateActiveX is Copyright (C) 2006 Jason Baker (therippa AT gmail.com). It is available as open source code from:
    http://therippa.blogspot.com

    This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details http://www.gnu.org/licenses/gpl.html
    */


    //Determine browser, we only need this for Internet Explorer
    if (navigator.appName == "Microsoft Internet Explorer") {

    //Array of elements to be replaced
    var arrElements = new Array(3);
    arrElements[0] = "object";
    arrElements[1] = "embed";
    arrElements[2] = "applet";


    //Loop over element types
    for (n = 0; n < arrElements.length; n++) {

    //set object for brevity
    replaceObj = document.getElementsByTagName(arrElements[n]);

    //loop over element objects returned
    for (i = 0; i < replaceObj.length; i++ ) {

    //set parent object for brevity
    parentObj = replaceObj[i].parentNode;

    //grab the html inside of the element before removing it from the DOM
    newHTML = parentObj.innerHTML;

    //remove element from the DOM
    parentObj.removeChild(replaceObj[i]);

    //stick the element right back in, but as a new object
    parentObj.innerHTML = newHTML;

    }
    }
    }
    Y listo el pollo!

    espero te sirva
    "It’s not TV. It’s HBO"

  5. #5
    Caspa y señorío Avatar de Astolfo Hynkel
    Fecha de ingreso
    30 dic, 03
    Mensajes
    9,881
    Agradecido
    4 veces

    Predeterminado Re: flash y html

    gracias supercraks!!!
    Firmar es de mediocres

+ Responder tema

Permisos de publicación

  • No puedes crear nuevos temas
  • No puedes responder temas
  • No puedes subir archivos adjuntos
  • No puedes editar tus mensajes
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.
SEO by vBSEO
Image resizer by SevenSkins