2023wordpress添加B站视频代码
2023wordpress添加B站视频代码
Last edited 2023-2-3
type
Post
status
Published
date
Jan 21, 2023
summary
wordpress添加B站视频代码,实现响应式展示的最佳代码。
tags
category
slug
icon
password

AID代码版

<iframe id="spkj" src="https://player.bilibili.com/player.html?aid=你要分享的视频AV号&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%"> </iframe> <script type="text/javascript"> document.getElementById("spkj").style.height=document.getElementById("spkj").scrollWidth*0.76+"px"; </script>

Bvid代码版

<iframe id="spkj" src="https://player.bilibili.com/player.html?bvid=视频AV号&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true" width="100%"> </iframe> <script type="text/javascript"> document.getElementById("spkj").style.height=document.getElementById("spkj").scrollWidth*0.76+"px"; </script>
致谢/参考:
💡
www.idcbuy.net/wordpress/748.html 和 www.bilibili.com/video/BV1nR4y1H74d/
 
 
 
 
2023年近况查漏补缺:英语十大词性