- Forever Young https://www.luxiyue.com/tag/视频/ Share Happiness,Enjoy Life~ Tue, 28 Feb 2023 02:47:33 +0000 zh-Hans hourly 1 https://wordpress.org/?v=6.8.3 https://www.luxiyue.com/wp-content/uploads/cropped-lovely-ina512-1-1-150x150.png - Forever Young https://www.luxiyue.com/tag/视频/ 32 32 如何在Markdown中插入视频 https://www.luxiyue.com/server/%e5%a6%82%e4%bd%95%e5%9c%a8markdown%e4%b8%ad%e6%8f%92%e5%85%a5%e8%a7%86%e9%a2%91/ https://www.luxiyue.com/server/%e5%a6%82%e4%bd%95%e5%9c%a8markdown%e4%b8%ad%e6%8f%92%e5%85%a5%e8%a7%86%e9%a2%91/#respond Wed, 26 Oct 2022 04:11:37 +0000 https://www.luxiyue.com/?p=121 最简单的肯定是直接插入,但是这种方法比较简单粗暴,而且没有排版,所以有了如下两种方法: 方法一:html中的video标签 <!-- mp4格式 --> <video controls> <source src="mp4格式视频链接" type="video/mp4"> </video> <!-- web […]

如何在Markdown中插入视频最先出现在Forever Young

]]>
最简单的肯定是直接插入,但是这种方法比较简单粗暴,而且没有排版,所以有了如下两种方法:

方法一:html中的video标签

<!-- mp4格式 -->
<video controls>
      <source src="mp4格式视频链接" type="video/mp4">
</video>

<!-- webm格式 -->
<video controls>
      <source src="webm格式视频链接" type="video/webm">
</video>

<!-- ovg格式 -->
<video controls>
      <source src="ogv格式视频链接" type="video/ogv">
</video>

方法二:html中的iframe标签

<!-- 相当于是子网页 -->
<iframe>
src="视频或者网页路径" 
scrolling="no" 
border="0" 
frameborder="no" 
framespacing="0" 
allowfullscreen="true" 
height=600 
width=800> 
</iframe>

方法三:视频转格式为gif (不推荐)

直接当作图片插入markdown中

![](gif链接)

如何在Markdown中插入视频最先出现在Forever Young

]]>
https://www.luxiyue.com/server/%e5%a6%82%e4%bd%95%e5%9c%a8markdown%e4%b8%ad%e6%8f%92%e5%85%a5%e8%a7%86%e9%a2%91/feed/ 0