Thank you for posting your question in the Microsoft Q&A forum.
I understand you're trying to send a video as a message in a public Teams channel using the Bot Framework REST API, but you're running into issues where the video doesn't appear as a playable media element. It seems you're exploring whether there's a reliable way to embed a playable video directly in the message.
I've done some research on this topic and would like to share a few insights that might help.
First, while there's no official Microsoft documentation confirming that VideoCard is unsupported in Teams channel messages, based on your experience and discussions across developer forums, it appears that VideoCard is currently not supported in Teams channel chat. This could explain why you're seeing fallback messages or empty content in both web and mobile clients.
Additionally, according to Limits and specifications for Microsoft Teams - Microsoft Teams | Microsoft Learn, the channel conversation post size is approximately 40 KB per post. This includes the message text, media links, mentions, reactions, etc. If your media exceeds this limit, it may not render properly or could be rejected.
However, I found a few workaround approaches that might be worth exploring. These involve using Adaptive Cards to create a custom video experience:
- GitHub example: Teams-Video-Player-Bot/README.md at main · OfficeDev/Teams-Video-Player-Bot · GitHub
- StackOverflow discussion: botframework - Video playback in Adaptive card of MS teams - Stack Overflow
- YouTube tutorial: Adaptive Cards Video Player Bot on Teams
Note: These resources are provided for your convenience. They are not controlled by Microsoft, and Microsoft cannot guarantee the quality, safety, or suitability of the content. Please make sure you fully understand the risks before implementing any suggestions from these sources.
I hope this information is helpful to you. If you have any further questions or updates, feel free to get back.
Please understand that our initial reply may not always immediately resolve the issue. However, with your help and more detailed information, we can work together to find a solution.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.