Skip to content

Commit

Permalink
Adding Support for Javascript Web View
Browse files Browse the repository at this point in the history
  • Loading branch information
desertblade authored Sep 2, 2022
1 parent 5d66256 commit dc7479d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/src/main/java/nl/rogro82/pipup/PopupView.kt
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ sealed class PopupView(context: Context, val popup: PopupProps) : LinearLayout(c
with(settings) {
loadWithOverviewMode = true
useWideViewPort = true
javaScriptEnabled = true
domStorageEnabled = true
mediaPlaybackRequiresUserGesture = false
}
loadUrl(media.uri)
}
Expand Down Expand Up @@ -207,4 +210,4 @@ sealed class PopupView(context: Context, val popup: PopupProps) : LinearLayout(c
}
}
}
}
}

0 comments on commit dc7479d

Please sign in to comment.