37 文字
1 分
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
Vimeo
Keep autoplay settings in the iframe URL query string; do not add query parameters as standalone HTML attributes.
共有
この記事が役に立ったときは、ぜひ他の人に共有してください!
Include Video in the Posts
https://lyrastellate.dev/posts/video/ 一部の情報は古い可能性があります
関連した投稿 スマート
1
Markdown Extended Features
Examples GitHub cards, callouts, code groups, Wiki Links, image grids, PlantUML, and other enhanced Markdown features in Mizuki.
2
Writing a Blog Post
Guides A generic example of article structure and frontmatter.
3
Image Gallery Grid: Syntax and Complete Examples
Examples A complete guide to image gallery grid syntax, parameters, cropping, responsive behavior, captions, and lightbox navigation.
4
Markdown Tutorial
Examples A simple example of a Markdown blog post.
5
Markdown Mermaid
Examples A simple example of a Markdown blog post with Mermaid.