Reputation: 4283
I'm displaying a web page inside an Android's WebView. The page includes an embedded video from Vimeo.
But when I try to display the page inside the WebView, the video area appears blank. In the log , I see the following logs:
W/VideoCapabilities: Unrecognized profile 4 for video/hevc
W/VideoCapabilities: Unrecognized profile 2130706433 for video/avc
The video displays fine when opening the web page using Chrome.
Upvotes: 1
Views: 1172
Reputation: 109
Did you enabled Javascript for WebView note that can cause XSS vulnerability.
WebView myWebView = (WebView) findViewById(R.id.webview);
WebSettings webSettings = myWebView.getSettings();
webSettings.setJavaScriptEnabled(true);
Upvotes: 1