I have requirement to play any mp4 video inside adaptive card. I referred from the below website on how to include media in adaptive cards:
https://adaptivecards.io/explorer/Media.html
Example video in the above link works perfectly fine . But if I replace the video URL with any other youtube or mp4 video URL link then it does not play that video. Below is the card that I have created.
{
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"type": "AdaptiveCard",
"version": "1.3",
"fallbackText": "This card requires Media to be viewed. Ask your platform to update to Adaptive Cards v1.1 for this and more!",
"body": [
{
"type": "Media",
"poster": "https://adaptivecards.io/content/poster-video.png",
"sources": [
{
"mimeType": "video/mp4",
"url": "https://www.youtube.com/watch?v=pxhqeHFLAF0"
}
]
}
]
}
Please help me on how to play a youtube video in adaptive cards.