[fix] video tag

This commit is contained in:
xaoxuu 2024-06-16 22:49:14 +08:00
parent 692f1fda5a
commit 12f466ba7c
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module.exports = ctx => function (args) {
}
if (args.youtube) {
return `<div class="tag-plugin video" style="aspect-ratio:${args.ratio || 16/9};max-width:${args.width};">
<iframe src="https://www.youtube.com/embed/${args.youtube}?rel=0&color=white&disablekb=1&playsinline=1&&rel=0&autoplay=${args.autoplay || '0'}; picture-in-picture="true" allowfullscreen="true" >
<iframe src="https://www.youtube.com/embed/${args.youtube}?rel=0&color=white&disablekb=1&playsinline=1&&rel=0&autoplay=${args.autoplay || '0'}" picture-in-picture="true" allowfullscreen="true" >
</iframe>
</div>
`