Is it possible to embed a Video/MP4 in a Teams channel message or chat?

asked 2023-01-10T19:35:46.087+00:00
Hill, Tim 1 Reputation point

Is it possible to send a Teams chat or channel message that shows an embedded MP4 video in place? 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=&#34;$value&#34; data-duration=&#34;PT5.503S&#34; width=&#34;960&#34; height=&#34;540&#34;>Video-Clip</video></div>" },

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
558 questions
Microsoft Graph Teamwork API
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2023-01-18T11:43:02.28+00:00
    SrinivasaRaoDarna - MSFT 6,076 Reputation points Microsoft Employee

    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 Chat

    Hope 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".

    No comments