Video
You can add a video to an article by link or from a file. By link, you can add a video from the following sources:
YouTube / Rutube — copy the video page URL or click Share and copy the short link.
Google Drive — click Share on the file, then choose Anyone with the link. Click Copy link.
Dropbox — click Share via Dropbox on the file and copy the link.
Mega — click Get link on the file and copy it.
To display a video from a source, click the video icon → in the editing panel and paste the link to it.
Short vertical clips display in 9:16 format, centered in the video block. Other videos keep the horizontal 16:9 format.
Video from a file
You can upload a video to an article from your computer — it is saved in the catalog next to the article. You can add a file in three ways:
With the Choose file button on the video block panel. To add the block, click → in the editing panel.
By dragging the file into the article.
By pasting the file from the clipboard.
Maximum file size is 500 MB. If the file is larger, upload the video to YouTube or Rutube and paste the link.
If the catalog is stored in Git, turn on Git LFS for it. Then the video starts playing right away, without loading the whole file.
If the video does not play
Some videos do not play in every browser, for example, videos recorded on iPhone. Gramax warns you about this when you add the video and offers to Convert to MP4. To add the file as it is, click Upload anyway.