中文
GitHub
Docs
Deployment
User Guide
Example
中文
GitHub
Docs
Example
Guest
Sign in
MrDoc Document Example
Markdown document example
Quote text
Audio and video
Attachment preview
Link effects
Images and attachments
Documentation table of contents
Code block effects
Table effects
List effects
Symbols and emoji
Scientific formulas
Flowchart
Sequence diagram
Strikethrough, bold, italic, superscript and subscript
Markdown text highlighting
Mind map, mind map, mindmap.
ECharts graphs and charts
Timeline
50,000-word ultra-long document
Mermaid diagrams
Markdown test document
Rich text document example
Documentation table of contents
Online spreadsheet document example
This is an online spreadsheet
Online spreadsheet with local Excel import
Mind map document
Hand-drawn diagram documentation
Office documents
OnlyOffice online documents
OnlyOffice online spreadsheet
OnlyOffice Slides
Powered by MrDoc Pro
-
+
home
Audio and video
# Audio and Video > For external audio and video links, make sure they allow cross-site referencing. MrDoc supports inserting local links and external links for audio and video in documents to play audio and video. You can click the  button in the toolbar to insert an audio or video link. The usage syntax is described below. ## Audio Audio files support formats such as `mp3`, `wav`, `flac`, and `m4a`. The syntax is: ```  ``` Example: ```  ``` It will be rendered as:  ## Video Video files support formats such as `mp4`, `m4v`, `ogg`, `ogv`, and `webm`. The syntax is: ```  ``` Example: ```  ``` It will be rendered as:  ## Video Preview For attachments in video format, you can directly insert an "Attachment Preview". The operation path is: editor toolbar - Attachment - Attachment Preview. The syntax is: ``` @[preview](url=/media/attachment/2025/03/oceans.mp4) ``` The rendering result is: @[preview](url=/media/attachment/2025/03/oceans.mp4) This method also supports m3u8 format videos. Example: ``` @[preview](url=https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/hls/xgplayer-demo.m3u8) ``` The rendering result is: @[preview](url=https://sf1-cdn-tos.huoshanstatic.com/obj/media-fe/xgplayer_doc_video/hls/xgplayer-demo.m3u8) ## Video Websites Video websites support sites such as YouTube, Bilibili, Tencent Video, and TED. Simply copy and use the video playback page address from the above websites. The syntax is: ```  ``` Example: ```  ``` It will be rendered as: 
mrdoc
Sept. 29, 2026, 6:36 p.m.
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
share
link
type
password
Update password
Validity period
Markdown file
Word document
PDF document (print)