Update video (#2512)
* Update video support bilibili video * Update video drop the duplicated <div> wrapper * Update video update video
This commit is contained in:
parent
2147ee2b66
commit
9280de7075
1 changed files with 2 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue