mirror of
https://github.com/StepanovPlaton/AboutMe.git
synced 2026-04-04 04:40:51 +04:00
34 lines
1.1 KiB
Markdown
34 lines
1.1 KiB
Markdown
---
|
|
title: Video Example
|
|
published: 2021-12-02
|
|
description: This post demonstrates how to embed video in a blog post.
|
|
tags: [Markdown, Video]
|
|
category: Examples
|
|
draft: false
|
|
---
|
|
|
|
|
|
## Instructions
|
|
|
|
Just copy the embed code from YouTube or other platforms, and paste it in the markdown file as below:
|
|
|
|
```yaml
|
|
---
|
|
title: Include Video in the Post
|
|
published: 2023-10-19
|
|
// ...
|
|
---
|
|
|
|
<iframe width="100%" height="468" src="https://www.youtube.com/embed/yrn7eInApnc?si=gGZeFbPcfMpJ1uV3_" title="YouTube video player" frameborder="0" allowfullscreen></iframe>
|
|
```
|
|
|
|
|
|
## Examples
|
|
|
|
### YouTube
|
|
|
|
<iframe width="100%" height="468" src="https://www.youtube.com/embed/yrn7eInApnc?si=gGZeFbPcfMpJ1uV3_" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
|
|
|
|
### Bilibili
|
|
|
|
<iframe width="100%" height="468" src="//player.bilibili.com/player.html?bvid=BV14QpMeSEuD&p=1&autoplay=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" &autoplay=0> </iframe> |