因为之前也发过在插入哔哩哔哩视频的文章,但仅仅只是copy了官方提供的代码。样式确实很糟,不过由于不经常使用,也就木有管它。

今天看到小石在博客里发布,本着好东西全部搬回来的不要脸原则,本文转载

<iframe id="spkj" src="https://player.bilibili.com/player.html?aid=视频AV号&amp;page=1"
 width="100%" frameborder="no" scrolling="no" allowfullscreen="allowfullscreen">
<span data-mce-type="bookmark" style="display: inline-block; width: 0px; 
overflow: hidden; line-height: 0;" class="mce_SELRES_start"></span>
 </iframe> 
<script type="text/javascript"> document.getElementById("spkj").style.height=document.getElementById("spkj").scrollWidth*0.76+"px"; </script>



微信扫描下方的二维码阅读更多精彩内容

https://snxa.com/wp-content/plugins/rest-api-to-wechat/images/qrcode/qrcode-140.png