Events
Events emitted by the VideoID Widget component.
The VideoID component emits events during its life Flow so that the different scenarios can be handled.
Usage example
const widgetRef = document.querySelector('facephi-video-id-widget');
widgetRef.addEventListener('widgetLoaded', handleWidgetLoaded);
function handleWidgetLoaded() {
console.info('The component is fully loaded and running');
}Events emitted by VideoID
widgetLoaded: The Widget has finished loading and is ready to use.
extractionFinish: The Widget has finished extraction successfully.
userCancel: The user has closed the Widget before the extraction process finished.
extractionTimeout: The time limit for extraction has been exceeded.
exceptionCaptured: An error occurred in the capture process.
Last updated