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

Reply via email to