Skip to content

Instantly share code, notes, and snippets.

@bravecorvus
Created July 31, 2018 17:00
Show Gist options
  • Save bravecorvus/6364cd29786099e00364e98ef79c635d to your computer and use it in GitHub Desktop.
Save bravecorvus/6364cd29786099e00364e98ef79c635d to your computer and use it in GitHub Desktop.
//...
myVoiceIt.videoVerification({
userId: userId,
contentLanguage : "en-us",
videoFilePath : "/Users/username/Downloads/verify.mp4"
},(jsonResponse)=>{
if (jsonResponse["responseCode"] === "SUCC") {
// Add behavior for when user is successfully authenticated
} else {
// Add behavior for when video verification failed
}
});
//...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment