Bilibili

Donate

Become a backer or sponsor to support our work.

Sponsors

This shortcode allows embedding the bilibili video in your content.

Usage

Parameters

PositionNameTypeRequiredDefaultDescription
#0idstringY-The video ID, such as BVXXXXXXXXXX.
-fullscreenboolean-trueAllow fullscreen.

Examples

Used with Ratio Shortcode

It’s recommended that use the ratio to wrap external videos.

1{{< bs/ratio >}}
2  {{< bilibili BV1iT411B7yH >}}
3{{< /bs/ratio >}}

Disable Fullscreen

1{{< bs/ratio >}}
2  {{< bilibili id=BV1iT411B7yH fullscreen=false >}}
3{{< /bs/ratio >}}