博客中插入腾讯视频、bilibili视频的代码块

腾讯视频 的代码块
仅需修改src中的视频地址即可

<iframe frameborder="0" src="https://v.qq.com/txp/iframe/player.html?vid=e09714o7sq8&amp;width=600&amp;height=375&amp;auto=0" allowfullscreen="" frameborder="0" height="375" width="600"></iframe>

blibli站的视频代码块
在src中修改视频地址

<div style = "position: relative; width:100%;height:0;padding-bottom:75%;"><iframe src="//player.bilibili.com/player.html?aid=83030408&bvid=BV1xJ411p7Et&cid=142015499&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" style="position: absolute; width: 100%; height: 100%; left:0;top0;"> </iframe></div>

谢谢大家观看,如有帮助,来个喜欢或者关注吧!


本文作者:陈锐

博客地址 : Chen Rui Blog

知乎地址 : 知乎专栏

书店地址 : 书店主页
知识星球 : 星球主页

猜你喜欢

转载自blog.csdn.net/craig_cc/article/details/119412948