Skip to content

Commit

Permalink
Merge pull request #2 from madjam002/web-javascript
Browse files Browse the repository at this point in the history
Add Javascript support to WebView
  • Loading branch information
reitblatt authored Nov 2, 2023
2 parents 6d815d3 + 12f8354 commit 2320aa6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions 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

0 comments on commit 2320aa6

Please sign in to comment.