Allow someone to preview and re-record their recorded video before processing is done?
I'm using the JavaScript Browser Integration v2 to include a video recorder on my site.
I've noticed that the processing after recording the video can take some time, a 4 second test video regularly takes 30 seconds to process.
That's not a big deal, but I'd like to utilize the preview and redo capabilities, but my only issue is that they have to wait until processing is done to do that. But that can be a pretty long time for a 30-60 sec video.
Is there a way to let them view the video they uploaded and redo it before processing is done, maybe after it's verified or some other event?
-
Hi Steven,
Yes, actually there are parameters that you can use to change the default behavior.
The parameters that I would suggest looking into are:
- localplayback
- early-rerecord
You would add them into your embedding like so (HTML):
<ziggeorecorder
ziggeo-localplayback
ziggeo-early-rerecord>
</ziggeorecorder>You could also implement your own buttons that would allow you to rerecord by calling for example embedding.rerecord() method: https://ziggeo.com/docs/sdks/javascript/browser-interaction/methods
Please do try it out and let us know how it goes :)
PS: After verified event fires, you no longer need to keep anyone on the same page, or have the embedding even exist at that point. You can freely remove it from the page, or do any other action that you want.
Regards,
Bane1 -
That worked, thanks Bane!
0 -
Hi Steven,
Great :)
Thank you for letting me know :)
Regards,
Bane0 -
From comments:
After verified event fires, you no longer need to keep anyone on the same page, or have the embedding even exist at that point. You can freely remove it from the page, or do any other action that you want.
How do you skip the remaining steps. I do not want my guests to sit through processing and review at all.
0 -
Hey James,
How do you skip the remaining steps. I do not want my guests to sit through processing and review at all.
This can be anything really. You could use embedding.destroy() if you wanted, or you could just refresh or move to another page, remove the HTML element where the embedding is, etc.
This would be completely up to you. If you leave the embedding as is, then it is going to still show you the complete steps.
If you really wanted, you could also just hide the embedding so you would still be able to listen to the events yet your guests would not really see it.
Hope this helps,
Bane0
Please sign in to leave a comment.
Comments
5 comments