Question

2
Replies
67
Views
SurajB56 Member since 2019 2 posts
State of New Jersey
Posted: September 2, 2020
Last activity: September 16, 2020
Solved

Show Base64 encoded mp3 string as a audio file in the UI

I have an activity that uses Connect-Rest to call Azure Speech service and convert text to voice. The result of the activity is a Base64 encoded mp3 string (please check the attached screenshot) that I want to show it in UI as an audio file. 

This doesn't work for me. Please let me know if you have any ideas.

<audio controls src="data:audio/mpeg;base64,T2dnUwACAAAAAAAAAAA+..........+fm5nB6slBlZ3Fcha363d5ut7u3ni1rLoPf728l3KcK" />

 

 

***Edited by Moderator Marissa to update Content Type from Discussion to Question; change type from General to Product, update Platform Capability tags***

Pega Platform Data Integration Government System Architect
Share this page LinkedIn