博客园插入视频的演示
博客园插入视频的演示
代码如下:
<div style="position: relative; padding: 30% 45%;"><iframe style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;" src="https://player.bilibili.com/player.html?cid=764071506&aid=343016323&page=1&as_wide=1&high_quality=1&danmaku=0" frameborder="no" scrolling="no" width="320" height="240"></iframe></div>
修改你要发布B站视频的cid和aid就可以了。
下面是视频效果

浙公网安备 33010602011771号