Shortcode to embed the Bilibili video into Markdown content.
1{{< bilibili >}}
id
Position | Name | Type | Required | Default | Since |
---|---|---|---|---|---|
#0 | id | string | ✓ | - | - |
The video ID, such as BVXXXXXXXXXX
.
fullscreen
Position | Name | Type | Required | Default | Since |
---|---|---|---|---|---|
- | 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 >}}