Back to ziggeo.com

How can I reset a recorder widget?

If you want to reuse a recording (or playback) widget in your page, you first need to provide an id for the embedding:

<ziggeorecorder 
ziggeo-theme="modern"
ziggeo-themecolor="red"
id="ziggeo-recorder"></ziggeorecorder>

Using this id, you can find your embedding and reset your embedding as follows:

var element = document.getElementById('ziggeo-recorder');
var embedding = ZiggeoApi.V2.Recorder.findByElement(element); embedding
.reset();
Have more questions? Submit a request

Comments