Hi, no, I suppose the problem is this: if I write:
WebView1.HTML = "<audio controls = controls autoplay src =\"my_file_audio\">" Print WebView1.HTML in console I see: <html><head></head><body><audio controls="controls" autoplay="" src="my_file_audio"></audio></body></html> ?????? The WebView object ADDS some code itself automatically, so distorting and altering the original code ! ...an excess of zeal. If I test that modified code: <html><head></head><body><audio controls="controls" autoplay="" src="my_file_audio"></audio></body></html> *by writing in html file*, it doesn't work !!! In fact, it's wrong. Regards vuottt ----Messaggio originale---- Da: ea7...@ea7dfh.com Data: 24/02/2013 20.18 A: <gambas-user@lists.sourceforge.net> Ogg: Re: [Gambas-user] WebView.HTML does not show that instead WebView.Url shows. El 24/02/13 17:49, vu...@tiscali.it escribió: > Hello, > > I have noticed that not all the HTML code works with WebView.HTML. So, in > this cases I must use WebView.Url property. > > > Example, if this HTML code: > > <HTML> > > <audio controls=controls autoplay > src="my_file_audio"> > > </audio> > > </html> > > > it doesn't work if I write: > > WebView1.HTML = "<audio controls = controls autoplay src > =\"my_file_audio\">" > > but it works, if I write it in a "html file", and then I re-call it with > WebView.Url. > > Why ? > > regards > vuott Apparently you missed part of the html code in this line. You must close the audio tag: WebView1.HTML = "<audio controls = controls autoplay src =\"my_file_audio\">" It might be like: WebView1.HTML = "<audio controls = controls autoplay src =\"my_file_audio\"></audio>" Hope this helps, regards -- Jesus Guardon ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user Invita i tuoi amici e Tiscali ti premia! Il consiglio di un amico vale più di uno spot in TV. Per ogni nuovo abbonato 30 € di premio per te e per lui! Un amico al mese e parli e navighi sempre gratis: http://freelosophy.tiscali.it/ ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_feb _______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user