mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix(route): add disable autoplay to bilibli/utils iframe (#12206)
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
const crypto = require('crypto');
|
||||
|
||||
const iframe = (aid, page, bvid) =>
|
||||
`<iframe src="https://player.bilibili.com/player.html?${bvid ? `bvid=${bvid}` : `aid=${aid}`}${
|
||||
function iframe(aid, page, bvid) {
|
||||
return `<iframe src="https://player.bilibili.com/player.html?${bvid ? `bvid=${bvid}` : `aid=${aid}`}${
|
||||
page ? `&page=${page}` : ''
|
||||
}&high_quality=1" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>`;
|
||||
}&high_quality=1&autoplay=0" width="650" height="477" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>`;
|
||||
}
|
||||
|
||||
const addVerifyInfo = (params, verifyString) => {
|
||||
const md5 = crypto.createHash('md5');
|
||||
|
||||
Reference in New Issue
Block a user