~xdavidwu/xdavidwu.link

e7d9694c62961562bdb55b47fefde1fa7af75025 — sunete 4 years ago e54b4f6
Update video (#2512)

* Update video

support bilibili video

* Update video

drop the duplicated <div> wrapper

* Update video

update video
1 files changed, 2 insertions(+), 0 deletions(-)

M _includes/video
M _includes/video => _includes/video +2 -0
@@ 9,5 9,7 @@
  <iframe src="https://www.youtube-nocookie.com/embed/{{ video_id }}" frameborder="0" allowfullscreen></iframe>
{% elsif video_provider == "google-drive" %}
  <iframe src="https://drive.google.com/file/d/{{ video_id }}/preview" frameborder="0" allowfullscreen></iframe>
{% elsif video_provider == "bilibili" %}
  <iframe src="https://player.bilibili.com/player.html?bvid={{ video_id }}&page=1&as_wide=1&high_quality=1&danmaku=0" scrolling="no" border="0" frameborder="no" framespacing="0" allowfullscreen="true"></iframe>
{% endif %}
</div>