fix(route): add disable autoplay to bilibli/utils iframe (#12206)
This commit is contained in:
parent
3a9731e4f5
commit
2aa81d9490
|
|
@ -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');
|
||||
|
|
|
|||
Loading…
Reference in New Issue