this is Mr Cooper your home loan company following up on the status of your account it’s important that we speak with you please have ????? or ????? call us today
const wavesurfer = WaveSurfer.create({
container: document.getElementById(‘audioWave’),
waveColor: ‘#B6BACA’,
progressColor: ‘#010838’,
url: ‘https://storage.robocalls.ai/number-profile/recordings/62da734d-e6c7-4a7d-8a37-e672453e390c.mp3’,
barWidth: 3,
barGap: 3,
barRadius: 3,
cursorWidth: 0,
})
const playAudioWave = () => {
wavesurfer.playPause();
}
wavesurfer.on(‘finish’, () => {
document.getElementById(‘pause-audio-transcript’).style.display = “none”;
document.getElementById(‘play-audio-transcript’).style.display = “block”;
})
wavesurfer.on(‘play’, () => {
document.getElementById(‘pause-audio-transcript’).style.display = “block”;
document.getElementById(‘play-audio-transcript’).style.display = “none”;
window.dataLayer = window.dataLayer || []
window.dataLayer.push({
‘event’: ‘gtag_event’,
‘event_action’: ‘play’,
‘event_category’: ‘Audio’,
‘event_label’: ‘Play Audio’
})
})
wavesurfer.on(‘pause’, () => {
document.getElementById(‘pause-audio-transcript’).style.display = “none”;
document.getElementById(‘play-audio-transcript’).style.display = “block”;
})