Skip to content

Commit

Permalink
add youtube to video (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
Laitr0n authored Jun 14, 2024
1 parent aceb6f4 commit ebeb7be
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tag-plugins/express/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -636,9 +636,10 @@ autoplay: 1/0 # 自动播放/手动播放 # 不设置默认0手动播放

## video 视频标签

支持 bilibili 和视频外链,可设置最大宽度, bili 可设置自动播放
支持 bilibili, youtube 和视频外链,可设置最大宽度, bili, yt 均可设置宽度和自动播放

{% video bilibili:BV1GP4y1d729 %}
{% video youtube:LB8KwiiUGy0 %}

{% grid c:2 %}
<!-- cell -->
Expand All @@ -652,6 +653,10 @@ autoplay: 1/0 # 自动播放/手动播放 # 不设置默认0手动播放
{% video bilibili:BV1GP4y1d729 width:100% autoplay:0 %}
{% video youtube:LB8KwiiUGy0 %}
{% video youtube:LB8KwiiUGy0 width:100% autoplay:0 %}
{% grid c:2 %}
<!-- cell -->
{% video https://github.com/volantis-x/volantis-docs/releases/download/assets/IMG_0341.mov %}
Expand Down

0 comments on commit ebeb7be

Please sign in to comment.