mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-01 14:57:14 +08:00
fix(route): add bilibili high quality player (#6968)
Co-authored-by: NeverBehave <gayhub@never.pet>
This commit is contained in:
@@ -18,6 +18,12 @@ Tiny Tiny RSS 会给所有 iframe 元素添加 `sandbox="allow-scripts"` 属性
|
||||
|
||||
:::
|
||||
|
||||
::: tip 关于视频清晰度
|
||||
|
||||
内嵌视频的默认清晰度为 480P,如需解锁更高清晰度,请[点此](https://www.bilibili.com/blackboard/html5player.html?cid=253377437&aid=885203421&page=&as_wide=1)在下方登录以设置 Cookie,仅对当前浏览器生效
|
||||
|
||||
:::
|
||||
|
||||
### 番剧
|
||||
|
||||
<Route author="DIYgod" example="/bilibili/bangumi/media/9192" path="/bilibili/bangumi/media/:mediaid" :paramsDesc="['番剧媒体 id, 番剧主页 URL 中获取']"/>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
const iframe = (aid, page, bvid) =>
|
||||
`<iframe src="https://player.bilibili.com/player.html?${bvid ? `bvid=${bvid}` : `aid=${aid}`}${
|
||||
page ? `&page=${page}` : ''
|
||||
}" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>`;
|
||||
}&high_quality=1" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>`;
|
||||
|
||||
module.exports = {
|
||||
iframe,
|
||||
|
||||
Reference in New Issue
Block a user