Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/12/2007, 13:55
miguel867
 
Fecha de Ingreso: abril-2006
Mensajes: 131
Antigüedad: 18 años
Puntos: 1
Problema al incluir un flash en html

Hola,

No sé si este es el foro correcto. Voy a explicarme. En mi página html incluyo un flash de la siguiente forma:

Código PHP:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<
html>
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</
head>
<
body>
<
div id="container">
<
div id="header">
<
object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="760" height="90">
      <
param name="movie" value="../images/baner_azul.swf">
      <
param name="quality" value="high">
      <
embed src="../images/baner_azul.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="760" height="90"></embed>
    </
object>
  </
div> <!-- de div header -->

...
  </
div> <!-- de div container -->
</
body>
</
html
Al pasar la herramienta de validación: http://validator.w3.org/

Me da un error diciento que el tag "embed" y todos sus atributos no son soportados por el DOCTYPE utilizado. He probado con todos los DOCTYPE pero la herramienta de validación me sigue diciendo lo mismo.

El error es el siguiente (está en inglés) por si alguien le interesa:

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.

--------------------------
¿Alguien me puede ayudar para incluir el flash de alguna manera que pase el validador?

Gracias y Saludos!!!