[Ovillo] Poner un video en una pagina xhtml 1.1
Trent Chandra
trentchandra en gmail.com
Lun Sep 11 21:34:48 UTC 2006
Hola lista.
Disculpen, he decido enviar nuevamente la consulta porque creo que no ha
llegado, hace mas de un año que estoy suscrito a la lista y siempre he
tenido problemas al momento de publicar. Por favor, si esto ya esta
publicado o si simplemente les llegó esta copia, me podrían avisar al
correo. Gracias
Tengo un problema que no he logrado solucionar. Necesito incluir en una
página que había sido previamente validada como XHTML 1.1 un video de
You Tube (www.youtube.com). Este sitio proporciona la forma en que debe
ser incluido cada video, el tema es que al hacerlo como ellos muestran
en su sitio la página deja de ser xhtml 1.1 válido.
¿Alguien puede decirme la forma correcta o algún sitio donde esté bien
explicado los elementos <object><param><embed> para incluirlos en un
documento xhtml 1.1? No he encontrado la forma correcta de hacerlo a
pesar de he leído mucha informcaión, siempre termino con un documento no
válido.
Desde ya, muchas gracias a todos.
Saludos, Diego.
P.D.: debajo he pegado el texto con los errores obtenidos desde el
validador de la W3C.
Result: Failed validation, 5 errors
File: index.html
Encoding: iso-8859-1
Doctype: XHTML 1.1
Root Namespace: http://www.w3.org/1999/xhtml
*Note*: The Validator XML support has some limitations
<http://openjade.sourceforge.net/doc/xml.htm>.
This page is *not* Valid XHTML 1.1!
Below are the results of checking this document for XML well-formedness
<http://www.w3.org/TR/REC-xml#sec-conformance> and validity.
1. Error /Line 27 column 19/: there is no attribute "src".
| <embed src=*"*http://www.youtube.com/v/c6cTbaBApM4" type="application/x-sh|
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.
? <http://validator.w3.org/feedback.html?uri=;errmsg_id=108#errormsg>
2. Error /Line 27 column 63/: there is no attribute "type".
|...embed src="http://www.youtube.com/v/c6cTbaBApM4" type=*"*application/x-shockwave-flash" |
? <http://validator.w3.org/feedback.html?uri=;errmsg_id=108#errormsg>
3. Error /Line 28 column 14/: there is no attribute "width".
| width=*"*425" height="350"></embed>|
? <http://validator.w3.org/feedback.html?uri=;errmsg_id=108#errormsg>
4. Error /Line 28 column 27/: there is no attribute "height".
| width="425" height=*"*350"></embed>|
? <http://validator.w3.org/feedback.html?uri=;errmsg_id=108#errormsg>
5. Error /Line 28 column 32/: element "embed" undefined.
| width="425" height="350"*>*</embed>|
You have used the element named above in your document, but the
document type you are using does not define an element of that
name. 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 "Frameset" document
type to get the "<frameset>" element),
* by using vendor proprietary extensions such as "<spacer>" or
"<marquee>" (this is usually fixed by using CSS to achieve
the desired effect instead).
* by using upper-case tags in XHTML (in XHTML attributes and
elements must be all lower-case.
Más información sobre la lista de distribución Ovillo