Skip to content

Commit

Permalink
add video URL detection to "onLoadResource" event handler
Browse files Browse the repository at this point in the history
  • Loading branch information
warren-bank committed Apr 24, 2021
1 parent d81bb79 commit 7b43223
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ public BrowserWebViewClient(BrowserActivity browserActivity) {
this.browserActivity = browserActivity;
}

@Override
public void onLoadResource(WebView view, String url) {
process_URL(url, view);
}

@Override
public boolean shouldOverrideUrlLoading(WebView view, String url) {
process_URL(url, view);
Expand Down
4 changes: 2 additions & 2 deletions android-studio-project/constants.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
project.ext {
releaseVersionCode = Integer.parseInt("004091016", 10) //Integer.MAX_VALUE == 2147483647
releaseVersion = '004.09.10-16API'
releaseVersionCode = Integer.parseInt("004091116", 10) //Integer.MAX_VALUE == 2147483647
releaseVersion = '004.09.11-16API'
minSdkVersion = 16
targetSdkVersion = 28
compileSdkVersion = 28
Expand Down

0 comments on commit 7b43223

Please sign in to comment.