summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pw/cloudef/rpg/Nodeweb.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pw/cloudef/rpg/Nodeweb.java b/src/pw/cloudef/rpg/Nodeweb.java
index ba79f60..57a9ef1 100644
--- a/src/pw/cloudef/rpg/Nodeweb.java
+++ b/src/pw/cloudef/rpg/Nodeweb.java
@@ -46,6 +46,7 @@ public class Nodeweb extends Base {
web.getSettings().setDomStorageEnabled(true);
web.getSettings().setDatabaseEnabled(true);
web.getSettings().setCacheMode(WebSettings.LOAD_NO_CACHE);
+ if (android.os.Build.VERSION.SDK_INT > 16) web.getSettings().setMediaPlaybackRequiresUserGesture(false);
web.setWebViewClient(new WebViewClient(){
public void onReceivedError(WebView view, int errorCode, String description, String failingUrl) {
Log.v("nodeweb", "error: " + errorCode);