WordPress插入哔哩哔哩bilibili视频代码版

教程评论12,7194字数 628阅读2分5秒阅读模式

WordPress插入哔哩哔哩bilibili视频代码,后台文章编辑文本编辑把下面代码复制到里面,在到B站复制视频AV号,不会的看下图。WordPress插入哔哩哔哩bilibili视频代码版

代码:

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

视频:

我的微信
微信扫一扫
weinxin
我的微信
我的微信公众号
微信扫一扫
weinxin
我的公众号
 
  • 本文由 夏沫 发表于 2021年12月10日20:31:45
  • 除非特殊声明,本站文章均为原创,转载请务必保留本文链接

发表评论

匿名网友
:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:
确定

拖动滑块以完成验证