2023wordpress添加B站视频代码
2023wordpress添加B站视频代码
Last edited 2023-12-17
type
Post
status
Published
date
Jan 21, 2023
summary
wordpress添加B站视频代码,实现响应式展示的最佳代码。
tags
category
slug
icon
password
TVBOX地址: http://52bsj删除我.vip:98/wuai (删除我 去掉)
接口总目录

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/
 
 
 
 
Nginx规则中屏蔽不同语言的访客查漏补缺:英语十大词性