besoft Active Member Licensed User Longtime User Apr 2, 2018 #1 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
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 Apr 2, 2018 #2 Try to remove the double OpenTag before img. Otherwise I have no idea. Upvote 0
Kiffi Well-Known Member Licensed User Longtime User Apr 3, 2018 #3 @besoft: You cannot see a video with an <img>-Tag. Try the <video>-Tag instead: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Greetings ... Peter Upvote 0
@besoft: You cannot see a video with an <img>-Tag. Try the <video>-Tag instead: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video Greetings ... Peter