BilibiliVideo

BilibiliVideo is a script that can let you add H5 VideoPlayer (video with danmaku) on the page for video from bilibili.com (What is bilibili?).
Note: This script cannot display Bilibili videos that require logging in, and will show a short error video instead. Such videos are generally restricted by copyright and are only allowed to be viewed in mainland China.
== ==
== ==
=== Code ===
; data-av
: Old video ID used by bilibili called AV number. General at the end of the URL. Such as av170001.
; data-bv
: BV number of video. General at the end of the URL. Such as BV1uT4y1P7CX.
; data-page
: Page of video. If the video has only one p, leave it blank. Only number.
; data-size
: Width of player. Height will be adjusted automatically.
* ☆You'd better add some text include the div block for mobile users like: Watch this video (゜-゜)つロ.
=== Example ===
If you want to show this really cool music video from https://www.bilibili.com/video/BV1uT4y1P7CX:
See also template: