Forum Discussion
Adaptive Card embedded audio doesn't play
Hi Everyone
I have an adaptive card that was working until this week. I've got a workflow that sends an email when a voicemail is received, then saves the voicemail in SharePoint and sends the audio file embedded in an adaptive card in Teams. The code isn't complicated, I've just put the sharing link as a variable and then it's more or less like this:
"type": "Media",
"sources": [
{
"mimeType": "audio/wav",
"url": "@{variables('VoicemailLink')})"
}
]
It was working last week, and I didn't change anything. I've put a quick workaround in to put a hyperlink to the voicemail in the text of the adaptive card, and that seems fine so the variable link is working and the saved audio file is working, it's just not embedding the file nicely into the card. It opens up in a browser window instead.
Has there been an update to adaptive cards or Teams that might break this sort of thing?
Thanks for your help.
2 Replies
- either8561Copper Contributor
We are seeing the same issue with "mimeType": "audio/mpeg",
We can still play the audio from the Teams iOS or Android client but the Desktop and Web App is not playing audio files anymore. I tested a youtube link video/mp4 and it works.
- Sayali-MSFT
Microsoft
Hello MelBo1,
Thank you for bringing this issue to our attention. We are checking this with engineering team and get back to you shortly.