37 words
1 minute
Include Video in the Posts
Just copy the embed code from YouTube or other platforms, and paste it in the markdown file.
---title: Include Video in the Postpublished: 2023-10-19// ...---
<iframe width="100%" height="468" src="https://www.youtube.com/embed/5gIf0_xpFPI?si=N1WTorLKL0uwLsU_" title="YouTube video player" frameborder="0" allowfullscreen></iframe>YouTube
Bilibili
Keep autoplay settings in the iframe URL query string; do not add query parameters as standalone HTML attributes.
Share
If this article helped you, please share it with others!
Include Video in the Posts
https://mizuki.mysqil.com/posts/video/ Some information may be outdated
Related Posts Smart
1
图片画廊网格:语法与完整示例
教程 一份关于图片画廊网格的语法、参数、裁剪、响应式行为、图注与灯箱导航的完整指南。
2
Markdown 与 Mermaid 图表
教程 一篇包含 Mermaid 图表的 Markdown 博客文章简单示例。
3
Markdown 教程
教程 一个 Markdown 博客文章的简单示例。
4
MDX 语法指南
教程 了解如何在 MDX 文章中组合 Markdown、组件、JavaScript 表达式、提示框、Wiki 链接、数学公式、代码组和图片。
5
Markdown 扩展功能
教程 Mizuki 中的 GitHub 卡片、提示框、代码组、Wiki 链接、图片网格、PlantUML 等增强 Markdown 功能。