hello this is City man calling with important account information on your City bank card this call may be recorded or monitored for quality purposes
const wavesurfer = WaveSurfer.create({
container: document.getElementById(‘audioWave’),
waveColor: ‘#B6BACA’,
progressColor: ‘#010838’,
url: ‘https://storage.robocalls.ai/number-profile/recordings/1b48ff61-9750-4c0a-9aab-3bc2076e23ff.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”;
})