Skip to content

Commit

Permalink
Merge pull request #134 from cd-butterfly/master
Browse files Browse the repository at this point in the history
fix android compressVideo path
  • Loading branch information
numandev1 committed Mar 10, 2023
2 parents 8085ea8 + 1bf3085 commit 8a95003
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,14 @@ public void onStart() {
@Override
public void onFinish(boolean result) {
//convert finish,result(true is success,false is fail)
promise.resolve("file:/"+destinationPath);
promise.resolve("file://"+destinationPath);
}

@Override
public void onError(String errorMessage) {
if(errorMessage.equals(("class java.lang.AssertionError")))
{
promise.resolve(srcPath);
promise.resolve("file://"+srcPath);
}
else
{
Expand Down

0 comments on commit 8a95003

Please sign in to comment.