Enhance Bilibili video support (redo of ) ()

* Enhance support for bilibili videos in responsive video helper, and add corresponding doc

* Apply @iBug's review in 

* Fix danmaku in page hero video

* Update video to use case..when for iframe src

* Update CHANGELOG and history

Co-authored-by: Anran <51769728+ALeafWolf@users.noreply.github.com>
Co-authored-by: Michael Rose <mmistakes@users.noreply.github.com>
This commit is contained in:
iBug ♦
2020-07-23 03:42:46 +08:00
committed by GitHub
parent 8711be97c6
commit 42c4df6244
5 changed files with 50 additions and 16 deletions

@ -1,4 +1,2 @@
{% capture video_id %}{{ page.header.video.id }}{% endcapture %}
{% capture video_provider %}{{ page.header.video.provider }}{% endcapture %}
{% include video id=video_id provider=video_provider %}
{% assign video = page.header.video %}
{% include video id=video.id provider=video.provider danmaku=video.danmaku %}