Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
message-formatting: Document previews generated on uploading video.
Rohan Gudimetlaacb12fa953d5
diff --git a/api_docs/message-formatting.md b/api_docs/message-formatting.mdindex a85d56fdc70..d3a1b7f443c 100644--- a/api_docs/message-formatting.md+++ b/api_docs/message-formatting.md@@ -241,6 +241,20 @@ assume that messages sent prior to the introduction of thumbnailinghave been re-rendered to use the new format or have thumbnailsavailable.+## Video previews++When a Zulip message is sent linking to an uploaded video, Zulip will+generate a video preview element with the following format.++``` html+<div class="message_inline_image message_inline_video">+ <a href="/user_uploads/path/to/video.mp4">+ <video preload="metadata" src="/user_uploads/path/to/video.mp4">+ </video>+ </a>+</div>+```+## Mentions and silent mentionsZulip markup supports [mentioning](/help/mention-a-user-or-group)