Advanced Embedding

On this page, you can find additional customization options for embedding.

Our script can report multiple events while working. Based on those events you can set up an additional layer of customization and interactivity.

Events list

To track the above events, add the event listener. See below:

window.addEventListener('message', (event) => {
        console.log(event.data)
    })

Here’s a full usage example:

window.addEventListener('message', (event) => {
        if (event.data === 'onRecordStart') {
            console.log('Record Started')
        }        
    })

Last updated