Skip to content

Commit

Permalink
Update MainActivity.java
Browse files Browse the repository at this point in the history
  • Loading branch information
prateek-chaubey authored Jun 28, 2024
1 parent 52d30e0 commit aa0df05
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,9 @@ public void onPageFinished(WebView p1, String url) {

web.loadUrl("javascript:(function () { var script = document.createElement('script'); script.src='https://cdn.jsdelivr.net/npm/ytpro'; document.body.appendChild(script); })();");
web.loadUrl("javascript:(function () { var script = document.createElement('script'); script.src='https://cdn.jsdelivr.net/npm/ytpro/bgplay.js'; document.body.appendChild(script); })();");
if(dL){
if(dl){
web.loadUrl("javascript:(function () {window.location.hash='download';})();");
dL=false;
//dL=false;
}
if(!url.contains("#bgplay") && isPlaying){
isPlaying=false;
Expand Down

0 comments on commit aa0df05

Please sign in to comment.