Is there an update on this? There should be a way to embed a video on Teams that is located elsewhere. And the above link to upvote the feature is broken.
Is it possible to embed a Video/MP4 in a Teams channel message or chat?
Is it possible to send a Teams chat or channel message that shows an embedded MP4 video in place? https://learn.microsoft.com/en-us/graph/api/chatmessage-post Attaching an MP4 simply adds as an attachment with no thumbnail or ability to play. Where as attaching a GIF adds an embedded player.
Is there documentation on the allowable valid HTML in the "content" json?
Apparently Team chats allow sending embedded webcam videos, which use a <video> tag, but I don't see any documentation on how that tag works, whether it works for channels, or how to store the content for it.
"body": { "contentType": "html", "content": "<div><video src="https://graph.microsoft.com/v1.0/chats/19:747ac51f-7c94-4ae8-9bc1-04f4c866a242_7758276b-c13b-4616-8699-0e3e01df8c29@unq.gbl.spaces/messages/1673299288334/hostedContents/aWQ9LHR5cGU9Mix1cmw9aHR0cHM6Ly91cy1hcGkuYXNtLnNreXBlLmNvbS92MS9vYmplY3RzLzAtY3VzLWQxNy0zMWVmMTMwOWI0M2YyZjNhNTczYWE0MzIwMGQ4MmRkMi92aWV3cy92aWRlbw==/$value" data-duration="PT5.503S" width="960" height="540">Video-Clip</video></div>" }
4 answers
Sort by: Most helpful
-
-
Srinivasa Rao Darna 6,721 Reputation points Microsoft Vendor
2023-01-18T11:43:02.28+00:00 Hello Hill, Tim,
Currently Embedding video to a chat or channel message is not possible. You can upvote the feature request created for the same and based on number of votes received and people requesting for similar feature Microsoft Engineering will take up for implementation.
Option to Embed Video in ChatHope this helps.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
-
Anonymous
2023-02-07T07:34:17.4466667+00:00 Why, though? I just posted a reply to another, similar answer. I support trauma workers who provide crisis services to domestic violence survivors and those in their community from their homes 24/7. Their work is so hard and lonely. They don't deserve to be forced to jump through all these hoops to share and view videos in the only online space they have to connect with one another. Fix this...please?
-
David Edgar 0 Reputation points
2023-08-10T13:46:50.4666667+00:00 seems daft the MS stream provides you with he embded code yet you can add this into teams