0
我想在webview中加载视频。它工作正常。加载数据适合在Android Webview中显示的高度和宽度
但是我的视频正在以小尺寸加载。
我的代码如下:
webView.loadData("<html><body> <script type='text/javascript'>ch='" + ChId + "'; ch_width=1080; ch_height=720;</script><script type='text/javascript' src='http://m.s247.tv/live.js'></script> </body></html>", "text/html; charset=utf-8", "UTF-8");
我想要的视频以适应屏幕。
@Maharith Aditya不工作 –
@Maharith Aditya请举例 –