New Windows 7 Visual Style currently available
Click here to try it or go to Control Panel select it later

bilibili视频嵌入教程

了解公告与特殊功能,提供用户头像框下载
Learn about announcements and features
User avatar
珈菲Products
StyleStar 所有者
Posts: 569
Joined: 2022年 May 26日 22:40
China
Location: Floptropica
Discord: jiafeiproducts69
bilibili: https://space.bilibili.com/518966852
System: Windows 7 64位元
Contact:

bilibili视频嵌入教程

#1

Unread post by 珈菲Products »

大多数国外的网站都是支持自动嵌入的,比如YouTube,Google Drive等,直接一个URL就能解析播放器,但是大部分国内平台不支持自动嵌入所以需要嵌入自己的视频请参考以下方式

参考:http://stylestar.win/viewtopic.php?p=61
image.png
image.png (75.92 KiB) Viewed 1254 times

得到:

Code: Select all

<iframe src="//player.bilibili.com/player.html?aid=231343572&bvid=BV1X8411m77u&cid=1208681434&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>

删除:

Code: Select all

<iframe src="

Code: Select all

&cid=1208681434&page=1" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"> </iframe>
得到:

Code: Select all

//player.bilibili.com/player.html?aid=231343572&bvid=BV1X8411m77u

加上:https:
得到:https://player.bilibili.com/player.html?aid=231343572&bvid=BV1X8411m77u
全选此链接,点击“media”
image.png
image.png (23.17 KiB) Viewed 1254 times
得到:



此方法对于搜狐视频等支持网页嵌入式播放器的视频网站同样适用。
we have emotional needs
show me emotional respect, respect
Locked