Skip to content

Commit

Permalink
Update video (mmistakes#2512)
Browse files Browse the repository at this point in the history
* Update video

support bilibili video

* Update video

drop the duplicated <div> wrapper

* Update video

update video
  • Loading branch information
sunete authored May 1, 2020
1 parent 184cedc commit 051314a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _includes/video
Original file line number Diff line number Diff line change
Expand Up @@ -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>

0 comments on commit 051314a

Please sign in to comment.