It is very similar to the contact_form.html example with the exception that it does not submit any form data nor won't trigger an email being sent on the server.
In the POST reponse you'll get data about the newly generated videomail, i.E. its ID. It is up to you how to process it further.