Re: error code when insering a video using video tag
HiddenId <[email protected]> Mon, 7 Jan 2013 13:50:38 +0000 (GMT)
| Newsgroups | gmane.comp.web.amaya.general |
|---|---|
| Message-ID | <[email protected]> |
--1353131092-482889687-1357566638=:7083 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Laurent,=0A=0A> If you want to add a video in a html page using Amaya, y= ou can use=0A the elements embed or object.=0A=0AI see easily where I = can get the "OBJECT" tag in Amaya ( top menu -> insert -> insert object ), = but I do not manage to find the way to get "EMBED" tag from any menu in Ama= ya. It seems it is not possible. Am I correct ?=0A=0AAntoine=0A=0A=0A=0A=0A= ________________________________=0A De=A0: laurent carcone <laurent.carcone= @orange.fr>=0A=C0=A0: HiddenId <[email protected]> =0ACc=A0: "www= [email protected]" <[email protected]> =0AEnvoy=E9 le : Samedi 5 janvier 2013 17= h57=0AObjet=A0: Re: error code when insering a video using video tag=0A =0A= =0AHello,=0A=0AAmaya doesn't support html5, it's why it raises an error on = the=0A element <video>.=0AUnfortunately, new developments on Amaya are= stopped at W3C and=0A Inria. I know there is a project outside W3C to= work on the HTML5=0A support, I'll let you know if I have some update= .=0AIf you want to add a video in a html page using Amaya, you can use=0A = the elements embed or object.=0A=0AThanks,=0ALaurent=0A=0ALe 05/01/13 1= 7:15, HiddenId a =E9crit=A0:=0A=0AHello All.=0A>Thanks a lot for your retur= ns. =0A>=0A>I've still questions: is it better to stay in xhtml or move to = html code type, regarding results described bellow ?=0A>Antoine=0A>=0A>=0A>= Here is the code I'm testing, including changes you told me:=0A>=0A>=0A>---= ----------------------------=0A>=0A>23 =A0=A0 <video width=3D"320" height= =3D"240" controls=3D"">=0A>24 =A0=A0=A0=A0=A0=A0 <source src=3D"proj.mp4"= =A0 type=3D"video/mp4" />=0A>25 =A0=A0=A0=A0=A0=A0 <source src=3D"proj.ogg"= =A0 type=3D"video/ogg" />=0A>26 =A0=A0=A0=A0=A0=A0 <source src=3D"proj.webm= " type=3D"video/webm" />=0A>27 =A0=A0=A0=A0=A0=A0 <object data=3D"proj.mp4"= width=3D"320"=0A height=3D"240">=0A>28 =A0=A0=A0=A0=A0=A0=A0=A0= =A0=A0 <embed src=3D"proj.swf" width=3D"320"=0A height=3D"240">=0A= >29 =A0=A0=A0=A0=A0=A0 </object>=0A>30 =A0=A0=A0 </video>=0A>31 =A0=A0=A0 <= p><strong>Download Video:</strong>=0A>32 =A0=A0=A0=A0=A0=A0=A0=A0=A0 Closed= Format:<a=0A href=3D"proj.mp4">"mp4"</a>=0A>33 =A0=A0=A0=A0=A0=A0= =A0=A0=A0 Open Format:<a=0A href=3D"proj.ogg">"ogg"</a>=0A>34 =A0= =A0 </p>=0A>=0A>-----------------------------=0A>=0A>=0A>Then here are resu= lts concerning error alerts send back by Amaya:=0A>=0A>=0A>=0A>Test 1: keep= ing XHTML code type (transitional 1.0)=0A>*********************************= ********=0A>=0A>=A0=A0=A0=A0 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 T= ransitional//EN"=0A>=A0=A0=A0=A0 =A0 =A0 =A0 "http://www.w3.org/TR/xhtml1/D= TD/xhtml1-transitional.dtd">=0A>=0A>=0A>Amaya returns following errors=0A>= =0A>=0A>=0A>*** Errors/warnings in test.html=0A>=A0 line 23, char 0: Invali= d or unsupported XHTML element=0A <video>=0A>=A0 line 24, char 0: = Invalid or unsupported XHTML element=0A <source>=0A>=A0 line 25, c= har 0: Invalid or unsupported XHTML element=0A <source>=0A>=A0 lin= e 26, char 0: Invalid or unsupported XHTML element=0A <source>=0A>= =A0 line 29, char 2: mismatched tag=0A>=0A>=0A>=0A>Test 2: changing to HTML= code type:=0A>******************************=0A>=0A><!DOCTYPE html PUBLIC = "-//W3C//DTD HTML 4.01 Transitional//EN"=0A>=A0=A0=A0=A0=A0 "http://www.w3.= org/TR/html4/loose.dtd">=0A>=0A>=0A>Amaya does not return any error.=0A>And= Amaya modify the code, erasing the "layout" of the code (see bellow):=0A>= =0A>=0A><video width=3D320 height=3D240 controls><source src=3Dproj.mp4 typ= e=3Dvideo/mp4=0A>=A0 /><source src=3Dproj.ogg type=3Dvideo/ogg /><source=0A= src=3Dproj.webm type=3Dvideo/webm=0A>=A0 /><object data=3D"proj.m= p4" width=3D"320" height=3D"240">=0A>=A0=A0=A0 <embed src=3D"proj.swf" widt= h=3D"320" height=3D"240"=0A /></object> </video>=0A>=0A>=A0 <p><st= rong>Download Video:</strong> Closed=0A Format:<a=0A>=A0 href=3D"p= roj.mp4">"mp4"</a> Open Format:<a=0A href=3D"proj.ogg">"ogg"</a> <= /p>=0A>=0A>=0A>=0A>Conclusion:=0A>**********=0A>XHTML: still errors, and co= de is not changed by Amaya=0A>HTML 4: no error, but code layout is modified= =0A>=0A>=0A>=0A>Then: what should I decide ?=0A>=0A>=0A>=0A>=0A>___________= _____________________=0A> De=A0: Leif Halvard Silli <xn--mlform-iua@m=E5lfo= rm.no>=0A>=C0=A0: HiddenId <[email protected]> =0A>Cc=A0: "www-am= [email protected]" <[email protected]> =0A>Envoy=E9 le : Samedi 5 janvier 2013 15h4= 6=0A>Objet=A0: Re: error code when insering a video using video tag=0A> =0A= >HiddenId, Fri, 4 Jan 2013 17:43:32 +0000 (GMT):=0A>=0A>> I'm trying to ins= ert a video in an HTML page.=0A>> I've tried a w3school code example :=0A>>= =0A>> <video width=3D"320" height=3D"240" controls>=0A>> =A0 <source src= =3D"movie.mp4" type=3D"video/mp4">=0A>> =A0 <source src=3D"movie.ogg" type= =3D"video/ogg">=0A>> =A0 <source src=3D"movie.webm" type=3D"video/webm">=0A= >> =A0 <object data=3D"movie.mp4" width=3D"320"=0A height=3D"240= ">=0A>> =A0=A0=A0 <embed src=3D"movie.swf" width=3D"320"=0A heig= ht=3D"240">=0A>> =A0 </object> =0A>> </video> =0A>=0A>> Unfortunatly, Amaya= returns "an error code": invalid=0A token=0A>> It seems it is t= he "s" of controls which generate the=0A error.=0A>> =0A>> Do yo= u know what I should do to avoid this error ?=0A>=0A>Firstly, assuming that= you work with an XHTML document,=0A then, instead =0A>of contro= ls, you should write controls=3D"" or=0A controls=3D"controls". = Then =0A>that particular error message will disappear. This is=0A = because XML =0A>requires boolean attributes to be of the shape foo=3D"foo= " or=0A foo=3D"". By =0A>contrast, HTML permits the author to ty= pe foo (the HTML=0A browser will =0A>still think of it as foo=3D= "", however).=0A>=0A>Secondly, the empty <source/> elements must be=0A = equipped with a closing =0A>"/", since that is the canonical form of= empty elements in=0A XHTML. =0A>=0A>All in all, this would work= :=0A>=0A><video width=3D"320" height=3D"240" controls=3D"">=0A>=A0 <source = src=3D"movie.mp4" type=3D"video/mp4" />=0A>=A0 <source src=3D"movie.ogg" ty= pe=3D"video/ogg" />=0A>=A0 <source src=3D"movie.webm" type=3D"video/webm" /= >=0A>=A0 <object data=3D"movie.mp4" width=3D"320" height=3D"240">=0A>=A0=A0= =A0 <embed src=3D"movie.swf" width=3D"320" height=3D"240" />=0A>=A0 </objec= t> =0A></video>=0A>-- =0A>leif halvard silli=0A>=0A> --1353131092-482889687-1357566638=:7083 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable <html><body><div style=3D"color:#000; background-color:#fff; font-family:ti= mes new roman, new york, times, serif;font-size:12pt">Hi Laurent,<br><br>&g= t; If you want to add a video in a html page using Amaya, you can use=0A = the elements embed or object.<br><br>I see easily where I can get the "O= BJECT" tag in Amaya ( top menu -> insert -> insert object ), but I do= not manage to find the way to get "EMBED" tag from any menu in Amaya. It s= eems it is not possible. Am I correct ?<br><br>Antoine<br><div><span><br></= span></div><div><br></div> <div style=3D"font-family: times new roman, new= york, times, serif; font-size: 12pt;"> <div style=3D"font-family: times ne= w roman, new york, times, serif; font-size: 12pt;"> <div dir=3D"ltr"> <font= face=3D"Arial" size=3D"2"> <hr size=3D"1"> <b><span style=3D"font-weight:= bold;">De :</span></b> laurent carcone <[email protected]&g= t;<br> <b><span style=3D"font-weight: bold;">=C0 :</span></b> HiddenId= <[email protected]> <br><b><span style=3D"font-weight: bol= d;">Cc :</span></b> "[email protected]" <[email protected]> <br> <= b><span style=3D"font-weight: bold;">Envoy=E9 le :</span></b> Samedi 5 janv= ier 2013 17h57<br> <b><span style=3D"font-weight: bold;">Objet :</span></b> Re= : error code when insering a video using video tag<br> </font> </div> <br><= div id=3D"yiv798455141">=0A =0A=0A =0A =0A <div>=0A <div class=3D"= yiv798455141moz-cite-prefix">Hello,<br>=0A <br>=0A Amaya doesn't = support html5, it's why it raises an error on the=0A element <video= >.<br>=0A Unfortunately, new developments on Amaya are stopped at W= 3C and=0A Inria. I know there is a project outside W3C to work on the = HTML5=0A support, I'll let you know if I have some update.<br>=0A = If you want to add a video in a html page using Amaya, you can use=0A = the elements embed or object.<br>=0A <br>=0A Thanks,<br>=0A = Laurent<br>=0A <br>=0A Le 05/01/13 17:15, HiddenId a =E9crit&nbs= p;:<br>=0A </div>=0A <blockquote type=3D"cite">=0A <div style=3D= "color:#000;background-color:#fff;font-family:times new roman, new york, ti= mes, serif;font-size:12pt;">=0A <div><span>Hello All.</span></div>= =0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:t= imes new roman, new york, times, serif;=0Abackground-color:transparent;font= -style:normal;"><span>Thanks a lot for your=0A returns. <br>=0A = </span></div>=0A <div style=3D"color:rgb(0, 0, 0);font-size= :16px;=0Afont-family:times new roman, new york, times, serif;=0Abackground-= color:transparent;font-style:normal;"><span>I've still questions:=0A = is it better to stay in xhtml or move to html code type,=0A = regarding results described bellow ?</span></div>=0A <div style=3D"= color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york,= times, serif;=0Abackground-color:transparent;font-style:normal;"><span>Ant= oine</span></div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px= ;=0Afont-family:times new roman, new york, times, serif;=0Abackground-color= :transparent;font-style:normal;"><span><br>=0A </span></div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times n= ew roman, new york, times, serif;=0Abackground-color:transparent;font-style= :normal;">Here is the code I'm=0A testing, including changes you t= old me:</div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0A= font-family:times new roman, new york, times, serif;=0Abackground-color:tra= nsparent;font-style:normal;"><br>=0A </div>=0A <div style=3D"= color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york,= times, serif;=0Abackground-color:transparent;font-style:normal;">---------= ----------------------<br>=0A </div>=0A <div style=3D"color:r= gb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, times,= serif;=0Abackground-color:transparent;font-style:normal;">23 = <video width=3D"320"=0A height=3D"240" controls=3D""><br>=0A= 24 <source src=3D"proj.mp= 4" type=3D"video/mp4" /><br>=0A 25 &nbs= p; <source src=3D"proj.ogg" type=3D"video/ogg" /><b= r>=0A 26 <source src=3D"pr= oj.webm" type=3D"video/webm" /><br>=0A 27 &nb= sp; <object data=3D"proj.mp4" width=3D"320"=0A heig= ht=3D"240"><br>=0A 28  = ; <embed src=3D"proj.swf" width=3D"320"=0A he= ight=3D"240"><br>=0A 29 &l= t;/object><br>=0A 30 </video><br>=0A = 31 <p><strong>Download Video:</st= rong><br>=0A 32  = ; Closed Format:<a=0A href=3D"proj.mp4">"mp4"</a>= ;<br>=0A 33 = Open Format:<a=0A href=3D"proj.ogg">"ogg"</a><br>=0A = 34 </p><br>=0A </div>=0A <div>---= --------------------------</div>=0A <div><br>=0A </div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times n= ew roman, new york, times, serif;=0Abackground-color:transparent;font-style= :normal;">Then here are results=0A concerning error alerts send ba= ck by Amaya:<br>=0A </div>=0A <div style=3D"color:rgb(0, 0, 0= );font-size:16px;=0Afont-family:times new roman, new york, times, serif;=0A= background-color:transparent;font-style:normal;"><br>=0A </div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times = new roman, new york, times, serif;=0Abackground-color:transparent;font-styl= e:normal;">Test 1: keeping XHTML code=0A type (transitional 1.0)</= div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-fami= ly:times new roman, new york, times, serif;=0Abackground-color:transparent;= font-style:normal;">*****************************************<br>=0A = </div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-f= amily:times new roman, new york, times, serif;=0Abackground-color:transpare= nt;font-style:normal;"> <!DOCTYPE html=0A = PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"<br>=0A &n= bsp; =0A <a rel=3D"nofollow" class= =3D"yiv798455141moz-txt-link-rfc2396E" target=3D"_blank" href=3D"http://www= .w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">"http://www.w3.org/TR/xhtml1= /DTD/xhtml1-transitional.dtd"</a>></div>=0A <div style=3D"color:r= gb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, times,= serif;=0Abackground-color:transparent;font-style:normal;"><br>=0A <= /div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-fam= ily:times new roman, new york, times, serif;=0Abackground-color:transparent= ;font-style:normal;">Amaya returns following=0A errors<br>=0A = </div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont= -family:times new roman, new york, times, serif;=0Abackground-color:transpa= rent;font-style:normal;"><br>=0A </div>=0A <div style=3D"colo= r:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, tim= es, serif;=0Abackground-color:transparent;font-style:normal;margin-left:40p= x;">***=0A Errors/warnings in test.html<br>=0A lin= e 23, char 0: Invalid or unsupported XHTML element=0A <video>= ;<br>=0A line 24, char 0: Invalid or unsupported XHTML elem= ent=0A <source><br>=0A line 25, char 0: Inva= lid or unsupported XHTML element=0A <source><br>=0A = line 26, char 0: Invalid or unsupported XHTML element=0A &= lt;source><br>=0A line 29, char 2: mismatched tag<br>=0A= </div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;= =0Afont-family:times new roman, new york, times, serif;=0Abackground-color:= transparent;font-style:normal;"><br>=0A </div>=0A <div style= =3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new y= ork, times, serif;=0Abackground-color:transparent;font-style:normal;">Test = 2: changing to HTML=0A code type:</div>=0A <div style=3D"co= lor:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, t= imes, serif;=0Abackground-color:transparent;font-style:normal;">***********= *******************<br>=0A </div>=0A <div style=3D"color:rgb(= 0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, times, se= rif;=0Abackground-color:transparent;font-style:normal;margin-left:40px;">&l= t;!DOCTYPE=0A html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"= <br>=0A <a rel=3D"nofollow" class= =3D"yiv798455141moz-txt-link-rfc2396E" target=3D"_blank" href=3D"http://www= .w3.org/TR/html4/loose.dtd">"http://www.w3.org/TR/html4/loose.dtd"</a>><= /div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-fam= ily:times new roman, new york, times, serif;=0Abackground-color:transparent= ;font-style:normal;"><br>=0A </div>=0A <div style=3D"color:rg= b(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, times, = serif;=0Abackground-color:transparent;font-style:normal;">Amaya does not re= turn any=0A error.</div>=0A <div style=3D"color:rgb(0, 0, 0= );font-size:16px;=0Afont-family:times new roman, new york, times, serif;=0A= background-color:transparent;font-style:normal;">And Amaya modify the code,= =0A erasing the "layout" of the code (see bellow):</div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new r= oman, new york, times, serif;=0Abackground-color:transparent;font-style:nor= mal;"><br>=0A </div>=0A <div style=3D"color:rgb(0, 0, 0);font= -size:16px;=0Afont-family:times new roman, new york, times, serif;=0Abackgr= ound-color:transparent;font-style:normal;margin-left:40px;"><video=0A = width=3D320 height=3D240 controls><source src=3Dproj.mp4=0A = type=3Dvideo/mp4<br>=0A /><source src=3Dproj.o= gg type=3Dvideo/ogg /><source=0A src=3Dproj.webm type=3Dvide= o/webm<br>=0A /><object data=3D"proj.mp4" width=3D"32= 0" height=3D"240"><br>=0A <embed src=3D"p= roj.swf" width=3D"320" height=3D"240"=0A /></object> <= /video><br>=0A <br>=0A <p><strong>D= ownload Video:</strong> Closed=0A Format:<a<br>=0A = href=3D"proj.mp4">"mp4"</a> Open Format:<a=0A = href=3D"proj.ogg">"ogg"</a> </p><br>=0A </div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times = new roman, new york, times, serif;=0Abackground-color:transparent;font-styl= e:normal;"><br>=0A </div>=0A <div style=3D"color:rgb(0, 0, 0)= ;font-size:16px;=0Afont-family:times new roman, new york, times, serif;=0Ab= ackground-color:transparent;font-style:normal;">Conclusion:</div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new r= oman, new york, times, serif;=0Abackground-color:transparent;font-style:nor= mal;">**********</div>=0A <div style=3D"color:rgb(0, 0, 0);font-size= :16px;=0Afont-family:times new roman, new york, times, serif;=0Abackground-= color:transparent;font-style:normal;margin-left:40px;">XHTML:=0A s= till errors, and code is not changed by Amaya</div>=0A <div style=3D= "color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york= , times, serif;=0Abackground-color:transparent;font-style:normal;margin-lef= t:40px;">HTML 4:=0A no error, but code layout is modified<br>=0A = </div>=0A <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Af= ont-family:times new roman, new york, times, serif;=0Abackground-color:tran= sparent;font-style:normal;"><br>=0A </div>=0A <div style=3D"c= olor:rgb(0, 0, 0);font-size:16px;=0Afont-family:times new roman, new york, = times, serif;=0Abackground-color:transparent;font-style:normal;margin-left:= 40px;">Then:=0A what should I decide ?<br>=0A </div>=0A = <div style=3D"color:rgb(0, 0, 0);font-size:16px;=0Afont-family:times ne= w roman, new york, times, serif;=0Abackground-color:transparent;font-style:= normal;"><br>=0A </div>=0A <div style=3D"font-family:times ne= w roman, new york, times, serif;font-size:12pt;">=0A <div style=3D= "font-family:times new roman, new york, times, serif;font-size:12pt;">=0A = <div dir=3D"ltr"> <font face=3D"Arial" size=3D"2">=0A = <hr size=3D"1"> <b><span style=3D"font-weight:bold;">De :</span></= b>=0A Leif Halvard Silli <a rel=3D"nofollow" class=3D"yiv798= 455141moz-txt-link-rfc2396E" ymailto=3D"mailto:xn--mlform-iua@m=E5lform.no"= target=3D"_blank" href=3D"mailto:xn--mlform-iua@m%C3%A5lform.no"><xn--m= lform-iua@m=E5lform.no></a><br>=0A <b><span style=3D"font= -weight:bold;">=C0 :</span></b>=0A HiddenId <a rel=3D"n= ofollow" class=3D"yiv798455141moz-txt-link-rfc2396E" ymailto=3D"mailto:cour= [email protected]" target=3D"_blank" href=3D"mailto:courriel_achevrie= [email protected]"><[email protected]></a> <br>=0A = <b><span style=3D"font-weight:bold;">Cc :</span></b>=0A = <a rel=3D"nofollow" class=3D"yiv798455141moz-txt-link-rfc2396E" ymailto=3D= "mailto:[email protected]" target=3D"_blank" href=3D"mailto:[email protected]= ">"[email protected]"</a> <a rel=3D"nofollow" class=3D"yiv798455141moz-txt-l= ink-rfc2396E" ymailto=3D"mailto:[email protected]" target=3D"_blank" href=3D= "mailto:[email protected]"><[email protected]></a> <br>=0A = <b><span style=3D"font-weight:bold;">Envoy=E9 le :</span></b>=0A = Samedi 5 janvier 2013 15h46<br>=0A <b><span style=3D= "font-weight:bold;">Objet :</span></b>=0A Re: error cod= e when insering a video using video tag<br>=0A </font> </div>= =0A <br>=0A HiddenId, Fri, 4 Jan 2013 17:43:32 +0000 = (GMT):<br>=0A <br>=0A > I'm trying to insert a vid= eo in an HTML page.<br>=0A > I've tried a w3school code examp= le :<br>=0A > <br>=0A > <video width=3D"320"= height=3D"240" controls><br>=0A > <source src= =3D"movie.mp4" type=3D"video/mp4"><br>=0A > <sou= rce src=3D"movie.ogg" type=3D"video/ogg"><br>=0A > = <source src=3D"movie.webm" type=3D"video/webm"><br>=0A >= ; <object data=3D"movie.mp4" width=3D"320"=0A height= =3D"240"><br>=0A > <embed src=3D"mov= ie.swf" width=3D"320"=0A height=3D"240"><br>=0A &g= t; </object> <br>=0A > </video> <br>=0A = <br>=0A > Unfortunatly, Amaya returns "an error code= ": invalid=0A token<br>=0A > It seems it is the "s= " of controls which generate the=0A error.<br>=0A >= ; <br>=0A > Do you know what I should do to avoid this error = ?<br>=0A <br>=0A Firstly, assuming that you work with= an XHTML document,=0A then, instead <br>=0A of contr= ols, you should write controls=3D"" or=0A controls=3D"controls".= Then <br>=0A that particular error message will disappear. This= is=0A because XML <br>=0A requires boolean attribute= s to be of the shape foo=3D"foo" or=0A foo=3D"". By <br>=0A = contrast, HTML permits the author to type foo (the HTML=0A = browser will <br>=0A still think of it as foo=3D"", however).<= br>=0A <br>=0A Secondly, the empty <source/> el= ements must be=0A equipped with a closing <br>=0A "/"= , since that is the canonical form of empty elements in=0A XHTML= . <br>=0A <br>=0A All in all, this would work:<br>=0A= <br>=0A <video width=3D"320" height=3D"240" contr= ols=3D""><br>=0A <source src=3D"movie.mp4" type=3D"= video/mp4" /><br>=0A <source src=3D"movie.ogg" type= =3D"video/ogg" /><br>=0A <source src=3D"movie.webm"= type=3D"video/webm" /><br>=0A <object data=3D"movi= e.mp4" width=3D"320" height=3D"240"><br>=0A  = ; <embed src=3D"movie.swf" width=3D"320" height=3D"240" /><br>=0A = </object> <br>=0A </video><br>=0A = -- <br>=0A leif halvard silli<br>=0A <br>=0A = </div>=0A </div>=0A </div>=0A </blockquote>=0A <= br>=0A </div>=0A=0A</div><br><br> </div> </div> </div></body></html> --1353131092-482889687-1357566638=:7083--