Re: error code when insering a video using video tag
Cristiano Guglielmetti <[email protected]> Sun, 6 Jan 2013 11:16:12 +0100
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <CALtrw8-Ydwtq0owSsTPB9jYBnUSFP8j4+XZC_mHnHdMc1rQjnw@mail.gmail.com> |
--bcaec54c47a28d087304d29c0002
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
*With Amaya 11.4.4 under Win7 with this code:*
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns=3D"http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Diso-885=
9-1">
<title>Nuovo</title>
<meta name=3D"generator" content=3D"Amaya, see http://www.w3.org/Amaya/">
</head>
<body>
<video width=3D"320" height=3D"240" controls>
<source src=3D"movie.mp4" type=3D"video/mp4">
<source src=3D"movie.ogg" type=3D"video/ogg">
<source src=3D"movie.webm" type=3D"video/webm">
<object data=3D"movie.mp4" width=3D"320" height=3D"240">
<embed src=3D"movie.swf" width=3D"320" height=3D"240">
</object>
</video>
</body>
</html>
*I get no errors by Amaya (also saving and reloading)*
*With this code*
<?xml version=3D"1.0" encoding=3D"iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns=3D"http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv=3D"content-type" content=3D"text/html; charset=3Diso-885=
9-1" />
<title>Nuovo1</title>
<meta name=3D"generator" content=3D"Amaya, see http://www.w3.org/Amaya/" =
/>
</head>
<body>
<video width=3D"320" height=3D"240" controls>
<source src=3D"movie.mp4" type=3D"video/mp4">
<source src=3D"movie.ogg" type=3D"video/ogg">
<source src=3D"movie.webm" type=3D"video/webm">
<object data=3D"movie.mp4" width=3D"320" height=3D"240">
<embed src=3D"movie.swf" width=3D"320" height=3D"240">
</object>
</video>
</body>
</html>
I get
*** Errors/warnings in C:\Users\Cristiano\Documents\Nuovo1.html
line 13, char 40: not well-formed (invalid token)
2013/1/5 Leif Halvard Silli <[email protected]>
> Cristiano Guglielmetti, Fri, 4 Jan 2013 20:44:37 +0100:
> > Probably you left the doctype default declaration of Amaya, which is
> XHTML.
> > When you create the new document you should declare it as HTML
> > Transitional into New Document tab view. Indeed, if you have set it
> > as HTML Transitional you will not have errors by Amaya:
>
> This seems to be incorrect =97 Amaya still reports that <video> is an
> unknown/unsupported element even if the document is a a HTML4
> transition kind of type.
>
> Leif H Silli
--bcaec54c47a28d087304d29c0002
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><u>With Amaya 11.4.4 under Win7 with this code:</u><div><b=
r><div><div><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transition=
al//EN"</div><div>=A0 =A0 =A0 "<a href=3D"http://www.w3.org/TR/ht=
ml4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>"></div>
<div><html xmlns=3D"<a href=3D"http://www.w3.org/1999/xhtml">http:/=
/www.w3.org/1999/xhtml</a>"></div><div><head></div><div>=A0 &=
lt;meta http-equiv=3D"content-type" content=3D"text/html; ch=
arset=3Diso-8859-1"></div>
<div>=A0 <title>Nuovo</title></div><div>=A0 <meta name=3D&qu=
ot;generator" content=3D"Amaya, see <a href=3D"http://www.w3.org/=
Amaya/">http://www.w3.org/Amaya/</a>"></div><div></head></div=
><div>
<br></div><div><body></div><div><video width=3D"320" hei=
ght=3D"240" controls><br></div><div>=A0 <source src=3D"=
;movie.mp4" type=3D"video/mp4"></div><div>=A0 <source =
src=3D"movie.ogg" type=3D"video/ogg"></div>
<div>=A0 <source src=3D"movie.webm" type=3D"video/webm&qu=
ot;></div><div>=A0 <object data=3D"movie.mp4" width=3D"=
;320" height=3D"240"></div><div>=A0 =A0 <embed src=3D&=
quot;movie.swf" width=3D"320" height=3D"240"></=
div>
<div>=A0 </object>=A0</div><div></video></div><div><br></div><d=
iv></body></div><div></html></div></div></div><div><br></div><d=
iv style><u>I get no errors by Amaya (also saving and reloading)</u></div><=
div style>
<br></div><div style><br></div><div style><u>With this code</u></div><div s=
tyle><br></div><div style><div><?xml version=3D"1.0" encoding=
=3D"iso-8859-1"?></div><div><!DOCTYPE html PUBLIC "-//=
W3C//DTD XHTML 1.0 Transitional//EN"</div>
<div>=A0 =A0 =A0 "<a href=3D"http://www.w3.org/TR/xhtml1/DTD/xhtml1-tr=
ansitional.dtd">http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd</a>=
"></div><div><html xmlns=3D"<a href=3D"http://www.w3.org/19=
99/xhtml">http://www.w3.org/1999/xhtml</a>"></div>
<div><head></div><div>=A0 <meta http-equiv=3D"content-type&qu=
ot; content=3D"text/html; charset=3Diso-8859-1" /></div><div>=
=A0 <title>Nuovo1</title></div><div>=A0 <meta name=3D"g=
enerator" content=3D"Amaya, see <a href=3D"http://www.w3.org/Amay=
a/">http://www.w3.org/Amaya/</a>" /></div>
<div></head></div><div><br></div><div><body></div><div><br></di=
v><div><video width=3D"320" height=3D"240" controls&=
gt;</div><div>=A0 <source src=3D"movie.mp4" type=3D"video=
/mp4"></div>
<div>=A0 <source src=3D"movie.ogg" type=3D"video/ogg"=
;></div><div>=A0 <source src=3D"movie.webm" type=3D"vi=
deo/webm"></div><div>=A0 <object data=3D"movie.mp4" wi=
dth=3D"320" height=3D"240"></div>
<div>=A0 =A0 <embed src=3D"movie.swf" width=3D"320" =
height=3D"240"></div><div>=A0 </object>=A0</div><div><=
;/video></div><div><br></div><div></body></div><div></html><=
/div><div>
<br></div><div style>I get</div><div style><br></div><div style><div>*** Er=
rors/warnings in C:\Users\Cristiano\Documents\Nuovo1.html<br></div><div>=A0=
line 13, char 40: not well-formed (invalid token)</div></div></div><div st=
yle>
<br></div><div style><br></div></div><div class=3D"gmail_extra"><br><br><di=
v class=3D"gmail_quote">2013/1/5 Leif Halvard Silli <span dir=3D"ltr"><<=
a href=3D"mailto:[email protected]" target=3D"_blank">xn--ml=
[email protected]</a>></span><br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Cristiano Guglielmetti, Fri, 4 Jan 2013 20:4=
4:37 +0100:<br>
<div class=3D"im">> Probably you left the doctype default declaration of=
Amaya, which is XHTML.<br>
> When you create the new document you should declare it as HTML<br>
> Transitional into New Document tab view. Indeed, if you have set it<br=
>
> as HTML Transitional you will not have errors by Amaya:<br>
<br>
</div>This seems to be incorrect =97 Amaya still reports that <video>=
is an<br>
unknown/unsupported element even if the document is a a HTML4<br>
transition kind of type.<br>
<br>
Leif H Silli</blockquote></div><br></div>
--bcaec54c47a28d087304d29c0002--