Discourse Bilibili Onebox

:information_source: Summary Discourse Bilibili Onebox is a plugin that allows Discourse communities to directly play Bilibili videos.
:hammer_and_wrench: Repository Link GitHub - scavin/discourse-bilibili-onebox
:open_book: Install Guide How to install plugins in Discourse

Features

Simply place a Bilibili link on its own line in the editor to directly play the video. Does not autoplay.

DEMO

Settings

You need to add the following two entries to the Allowed iframes setting:

  • https://player.bilibili.com/
  • https://www.bilibili.com/

Usage

Paste a Bilibili URL on its own line inside the composer. Links copied from the mobile share dialog also work.

Examples:

  • https://www.bilibili.com/video/BV1WEgJzMEK3/?spm_id_from=333.1387.homepage.video_card.click
  • https://www.bilibili.com/video/BV1WEgJzMEK3/?spm_id_from=333.1387.homepage.video_card.click&vd_source=b0a719e1950c150a97859195679d417a
  • https://www.bilibili.com/video/BV1WEgJzMEK3/
  • https://www.bilibili.com/video/BV1WEgJzMEK3
  • https://b23.tv/hiS7rgR