j'ai creer une page en xhtml strict dans laquelle je veux introduire un .mov
j'ai utiliser le code suivant:
mais j'ai des erreurs au validateur:
j'ai essayer en enlevant ma partie
de mon code mais du coup la video ne s'affiche plus.
quelqu'un pourrait m'aider?
Modifié par lilou (04 Jun 2006 - 22:15)
j'ai utiliser le code suivant:
<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=8,5,0,0" width="320" height="257">
<param name="src" value="img/recette.mov">
<embed src="img/recette.mov" pluginspage="http://www.macromedia.com/shockwave/download/" width="320" height="257"></embed>
</object>
mais j'ai des erreurs au validateur:
a écrit :
1 # Error Line 32 column 46: end tag for "param" omitted, but OMITTAG NO was specified.
<param name="src" value="img/recette.mov">
You may have neglected to close an element, or perhaps you meant to "self-close" an element, that is, ending it with "/>" instead of ">".
2 # Error Line 33 column 15: there is no attribute "src".
<embed src="img/recette.mov" pluginspage="http://www.macromedia.com/shockwav
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.
3 # Error Line 33 column 45: there is no attribute "pluginspage".
...ed src="img/recette.mov" pluginspage="http://www.macromedia.com/shockwave/dow
4 # Error Line 33 column 99: there is no attribute "width".
...media.com/shockwave/download/" width="320" height="257"></embed>
5 # Error Line 33 column 112: there is no attribute "height".
...ckwave/download/" width="320" height="257"></embed>
6 # Error Line 33 column 117: element "embed" undefined.
...e/download/" width="320" height="257"></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.
j'ai essayer en enlevant ma partie
<embed src="img/recette.mov" pluginspage="http://www.macromedia.com/shockwave/download/" width="320" height="257"></embed>
de mon code mais du coup la video ne s'affiche plus.
quelqu'un pourrait m'aider?
Modifié par lilou (04 Jun 2006 - 22:15)