Dear Community,
wanna play a Youtube Video in a B4J WebView:
this gets the error: Video not available.... (first frame is visible for 0.5sec!)
same code in i.e. Firefox Browser works.
Any ideas?
gereets
patent
wanna play a Youtube Video in a B4J WebView:
B4X:
Dim mywebview As WebView
mywebview.Initialize("myww")
MainForm.RootPane.AddNode(mywebview,100,100,500,800)
mywebview.Visible=True
mywebview.LoadHtml( _
$"<!DOCTYPE html>
<html>
<body>
<iframe width="420" height="345" src="https://www.youtube.com/embed/QVHhnDdjlfo">
</iframe>
</body>
</html>"$)
this gets the error: Video not available.... (first frame is visible for 0.5sec!)
same code in i.e. Firefox Browser works.
Any ideas?
gereets
patent