B4J Question Webview

besoft

Active Member
Licensed User
Longtime User
Hello,

I have the following code:
B4X:
    sb.Initialize
    sb.Append("<!DOCTYPE html>")
    sb.Append("<html")
    'sb.Append("<body>")
    sb.Append("<body")
    sb.Append("<<img src='http://192.168.8.11:8081/'  width='460' height='345'>")
    sb.Append("</body>")
    sb.Append("</html>")

    WebView1.LoadHtml(sb.ToString)

Why do not I see a video capture in a webview? Image capture is via Webcam on RPI.

I also tried this:

B4X:
WebView1.LoadUrl("http://192.168.8.11:8081/")

Looking through the Crome browser, I see a video at this address.

Thank you
 

nobbi59

Active Member
Licensed User
Longtime User
Try to remove the double OpenTag before img. Otherwise I have no idea.
 
Upvote 0
Top