mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
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:
committed by
Tim Abbott
parent
a52bc4d71b
commit
acb12fa953
@@ -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)
|
||||
|
Reference in New Issue
Block a user