如果你在WordPress文章中插入哔哩哔哩bilibili视频 出现问题,显示不全或则无法播放问题,用一下两段代码任意一个即可解决。

<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>
<script type="text/javascript"> document.getElementById("spkj").style.height=document.getElementById("spkj").scrollWidth*0.76+"px"; </script>
<iframe src="//player.bilibili.com/player.html?aid=修改成AID号&cid=修改成CID号&page=1" width="100%" height="500" frameborder="0" scrolling="no" sandbox="allow-top-navigation allow-same-origin allow-forms allow-scripts" allowfullscreen="allowfullscreen"></iframe>


版权声明:强国爸爸 发表于 2020-02-29 11:07:50。
转载请注明:WordPress如何插入哔哩哔哩bilibili视频 | 强国爸爸

2 条评论

  • Brianvon Vip1

    Whoa, such a beneficial online site.

  • Long time reader, first time commenter -- so, thought
    I'd drop a comment.. -- and at the same time ask for a

    Your wordpress site is very simplistic - hope you don't mind me
    asking what theme you're using? (and don't mind if I steal it?

    I just launched my small businesses site --also built in wordpress like yours-- but the theme slows (!) the site down quite a

    In case you have a minute, you can find it by searching for "royal cbd" on Google
    (would appreciate any feedback)

    Keep up the good work-- and take care of yourself
    during the coronavirus scare!