Skip to content

Commit b4287cd

Browse files
committed
fix: add the removed youtube built-in shortcode
Signed-off-by: Lachezar Lechev <[email protected]>
1 parent b7f2582 commit b4287cd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates/shortcodes/youtube.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<div {% if class %}class="{{class}}"{% endif %}>
2+
<iframe src="https://www.youtube-nocookie.com/embed/{{id}}{% if playlist %}?list={{playlist}}{% endif %}{% if autoplay %}?autoplay=1{% endif %}" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
3+
</div>

0 commit comments

Comments
 (0)