android - can't full screen video on webview -


hi i'm loading video website on webview. can't full screen videos

this manifest

`<application android:name="com.simarkets.app4.myapp3"     android:allowbackup="true"     android:hardwareaccelerated="true"     android:icon="@drawable/ic_launcher"     android:label="@string/app_name"     android:theme="@style/apptheme">      <activity         android:name="com.simarkets.app4.mainactivity"         android:icon="@drawable/ic_launcher"         android:hardwareaccelerated="true"         android:configchanges="orientation|screensize"         android:label="@string/app_name" >` 

this activity

public class mainactivity extends actionbaractivity {

private interstitialad interstitial;  @suppresslint({ "setjavascriptenabled", "newapi" }) @override protected void oncreate(bundle savedinstancestate) {     super.oncreate(savedinstancestate);     setcontentview(r.layout.activity_main);            string url = "http://m.youtube.com";     webview view = (webview) this.findviewbyid(r.id.webview1);     view.getsettings().setjavascriptenabled(true);     view.getsettings().setpluginstate(pluginstate.on);     view.getsettings().setbuiltinzoomcontrols(true);     view.getsettings().setsupportzoom(true);     view.getsettings().setdisplayzoomcontrols(false);       view.setwebviewclient(new webviewclient()            {             public boolean shouldoverrideurlloading(webview view, string url)                  {                     system.out.println("hello");                     return false;                 }             });     view.loadurl(url);  } 

any idea? plz


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -