Shortcode to embed the Bilibili video into Markdown content.
Become a backer or sponsor to support our work.
1{{< bilibili >}}
id
Position | Name | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
#0 | id | string | ✓ | - | - | - |
The video ID, such as BVXXXXXXXXXX
.
fullscreen
Position | Name | Type | Required | Default | Since | Example |
---|---|---|---|---|---|---|
- | fullscreen | boolean | - | true | - | - |
Whether to allow fullscreen.
It’s recommended that use the Ratio to nest videos if you’re using Bootstrap.
1{{< bs/ratio >}}
2 {{< bilibili BV1iT411B7yH >}}
3{{< /bs/ratio >}}
1{{< bs/ratio >}}
2 {{< bilibili id=BV1iT411B7yH fullscreen=false >}}
3{{< /bs/ratio >}}