Skip to main content

How can I get the token of a recorded video once it's been recorded?

Comments

2 comments

  • Nagaraj S Jayaram

    How do we do the same in react?

    0
  • Natasha Calleia

    Hi Nagaraj,

    This is how you'd listen for the verified event with React, to get the video token:

    recorderVerified = ( embedding ) => {
        let recorderInstance = this.child.recorderInstance();
        let properties = this.recorderInstance.get();
        console.log("Submitted a new video with token '" + properties['video'] + "' !");
    };

    <ZiggeoRecorder
    apiKey={API_KEY}
    onVerified={this.recorderVerified}
    />
    0

Please sign in to leave a comment.