message-formatting: Document previews generated on uploading video.

This commit documents the HTML syntax generated for the previews when
a message is sent linking to an uploaded video.
This commit is contained in:
Rohan Gudimetla
2025-04-04 22:53:30 +05:30
committed by Tim Abbott
parent a52bc4d71b
commit acb12fa953

View File

@@ -241,6 +241,20 @@ assume that messages sent prior to the introduction of thumbnailing
have been re-rendered to use the new format or have thumbnails
available.
## 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 mentions
Zulip markup supports [mentioning](/help/mention-a-user-or-group)