Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] enhancement bilibili shortcode #375

Closed
Lruihao opened this issue Nov 6, 2023 · 0 comments
Closed

[FEATURE] enhancement bilibili shortcode #375

Lruihao opened this issue Nov 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Lruihao
Copy link
Member

Lruihao commented Nov 6, 2023

Describe the feature you want 描述你的功能需求

enhancement options of bilibili shortcode.

Useful reference 有价值的参考

https://player.bilibili.com/

QueryString 参数

boolean 类型,在 QueryString 中可以使用 01 表示。

参数名 类型 必要 说明
aid number   UGC 视频 ID。aid、bvid 选择其一即可
cid number   UGC 视频 ID
bvid string UGC 视频 ID。aid、bvid 选择其一即可
seasonId number   OGV 视频 ID
episodeId number OGV 视频 ID。优先级高于 aid、bvid
poster boolean   展示封面
autoplay boolean   自动播放
muted boolean   静音
t number   跳转到媒体的初始时间点,单位:秒
danmaku boolean   false 表示关闭弹幕,其他表示默认值
kind number   群组种类。非通用业务需要此参数
refer boolean   跳链时携带当前的 Referrer。用于合作方查询来自嵌入网站的跳转次数
p number   多 P 视频的集数。从 1 开始计数,若有 cid 参数,则此参数不生效
@Lruihao Lruihao added the enhancement New feature or request label Nov 6, 2023
@Lruihao Lruihao added this to the v0.2.18-lts milestone Nov 6, 2023
@Lruihao Lruihao self-assigned this Nov 6, 2023
@Lruihao Lruihao closed this as completed in 4e29d5e Nov 6, 2023
Lruihao added a commit that referenced this issue Nov 29, 2023
* v0.2.18-lts: (22 commits)
  🔖 Chore(release): 0.2.18-lts.5
  📝 Docs: update chang log and docs
  🔧 Chore: change the theme minimum supported Hugo versions above **0.110.0**
  🔧 Chore: update default config in `hugo.toml`
  🐛 Fix: active index of toc may result in error
  ✨ Feat: add hiddenFromRss param and front matter
  ⚡ Perf: preload some stylesheet
  🔧 Chore: add Vercel config (#277)
  🐛 Fix: fix logic error of  lightgallery images rendering
  📝 Docs: update the outputs configuration to avoid the following warnings in versions above Hugo 0.112.0 (resolve #354)
  📝 Docs: update content license
  🐛 Style: fix the emoji style of valine comment (resolve #376)
  ⚡ Perf: optimize featured image rendering
  🔧 Chore: add decoding and referrerpolicy options for img plugin
  🚸 Feat: change bilibili shortcode `muted` default value
  🔖 Chore(release): 0.2.18-lts.4
  📝 Docs: update change log for v0
  ✨ Feat: add more options support for bilibili shortcode, e.g. `autoplay`, `muted` etc. (resolve #375)
  🐛 Fix: disable encrypted articles from rendering to rss (fixed #374)
  🐛 Fix: fix featured image path error in rss and show img tags in rss
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant