1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

feat: add embed video support

This commit is contained in:
Cotes Chung
2022-12-17 03:56:19 +08:00
parent 8de1abda6b
commit ed6dc539ef
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
<iframe class="embed-video twitch lazyload"
src="https://player.twitch.tv/?video={{ include.id }}&parent={{ site.url | split: '://' | last | remove: '/' }}"
frameborder="0" allowfullscreen="true"
scrolling="no"></iframe>