How to automatically close a popup recorder?
If you want to launch the video recorder in a fullscreen popup and automatically close the popup once the video has been recorded, you can go about it as follows:
[code language="javascript"]
var popup = ZiggeoApi.Embed.popup();
ZiggeoApi.Events.on("submitted", function(data) {
popup.hide_popup();
});
[/code]