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>&lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transition=
al//EN&quot;</div><div>=A0 =A0 =A0 &quot;<a href=3D"http://www.w3.org/TR/ht=
ml4/loose.dtd">http://www.w3.org/TR/html4/loose.dtd</a>&quot;&gt;</div>
<div>&lt;html xmlns=3D&quot;<a href=3D"http://www.w3.org/1999/xhtml">http:/=
/www.w3.org/1999/xhtml</a>&quot;&gt;</div><div>&lt;head&gt;</div><div>=A0 &=
lt;meta http-equiv=3D&quot;content-type&quot; content=3D&quot;text/html; ch=
arset=3Diso-8859-1&quot;&gt;</div>
<div>=A0 &lt;title&gt;Nuovo&lt;/title&gt;</div><div>=A0 &lt;meta name=3D&qu=
ot;generator&quot; content=3D&quot;Amaya, see <a href=3D"http://www.w3.org/=
Amaya/">http://www.w3.org/Amaya/</a>&quot;&gt;</div><div>&lt;/head&gt;</div=
><div>
<br></div><div>&lt;body&gt;</div><div>&lt;video width=3D&quot;320&quot; hei=
ght=3D&quot;240&quot; controls&gt;<br></div><div>=A0 &lt;source src=3D&quot=
;movie.mp4&quot; type=3D&quot;video/mp4&quot;&gt;</div><div>=A0 &lt;source =
src=3D&quot;movie.ogg&quot; type=3D&quot;video/ogg&quot;&gt;</div>
<div>=A0 &lt;source src=3D&quot;movie.webm&quot; type=3D&quot;video/webm&qu=
ot;&gt;</div><div>=A0 &lt;object data=3D&quot;movie.mp4&quot; width=3D&quot=
;320&quot; height=3D&quot;240&quot;&gt;</div><div>=A0 =A0 &lt;embed src=3D&=
quot;movie.swf&quot; width=3D&quot;320&quot; height=3D&quot;240&quot;&gt;</=
div>
<div>=A0 &lt;/object&gt;=A0</div><div>&lt;/video&gt;</div><div><br></div><d=
iv>&lt;/body&gt;</div><div>&lt;/html&gt;</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>&lt;?xml version=3D&quot;1.0&quot; encoding=
=3D&quot;iso-8859-1&quot;?&gt;</div><div>&lt;!DOCTYPE html PUBLIC &quot;-//=
W3C//DTD XHTML 1.0 Transitional//EN&quot;</div>
<div>=A0 =A0 =A0 &quot;<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>=
&quot;&gt;</div><div>&lt;html xmlns=3D&quot;<a href=3D"http://www.w3.org/19=
99/xhtml">http://www.w3.org/1999/xhtml</a>&quot;&gt;</div>
<div>&lt;head&gt;</div><div>=A0 &lt;meta http-equiv=3D&quot;content-type&qu=
ot; content=3D&quot;text/html; charset=3Diso-8859-1&quot; /&gt;</div><div>=
=A0 &lt;title&gt;Nuovo1&lt;/title&gt;</div><div>=A0 &lt;meta name=3D&quot;g=
enerator&quot; content=3D&quot;Amaya, see <a href=3D"http://www.w3.org/Amay=
a/">http://www.w3.org/Amaya/</a>&quot; /&gt;</div>
<div>&lt;/head&gt;</div><div><br></div><div>&lt;body&gt;</div><div><br></di=
v><div>&lt;video width=3D&quot;320&quot; height=3D&quot;240&quot; controls&=
gt;</div><div>=A0 &lt;source src=3D&quot;movie.mp4&quot; type=3D&quot;video=
/mp4&quot;&gt;</div>
<div>=A0 &lt;source src=3D&quot;movie.ogg&quot; type=3D&quot;video/ogg&quot=
;&gt;</div><div>=A0 &lt;source src=3D&quot;movie.webm&quot; type=3D&quot;vi=
deo/webm&quot;&gt;</div><div>=A0 &lt;object data=3D&quot;movie.mp4&quot; wi=
dth=3D&quot;320&quot; height=3D&quot;240&quot;&gt;</div>
<div>=A0 =A0 &lt;embed src=3D&quot;movie.swf&quot; width=3D&quot;320&quot; =
height=3D&quot;240&quot;&gt;</div><div>=A0 &lt;/object&gt;=A0</div><div>&lt=
;/video&gt;</div><div><br></div><div>&lt;/body&gt;</div><div>&lt;/html&gt;<=
/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">&lt;<=
a href=3D"mailto:[email protected]" target=3D"_blank">xn--ml=
[email protected]</a>&gt;</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">&gt; Probably you left the doctype default declaration of=
 Amaya, which is XHTML.<br>
&gt; When you create the new document you should declare it as HTML<br>
&gt; Transitional into New Document tab view. Indeed, if you have set it<br=
>
&gt; as HTML Transitional you will not have errors by Amaya:<br>
<br>
</div>This seems to be incorrect =97 Amaya still reports that &lt;video&gt;=
 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--