Created
September 23, 2020 15:57
-
-
Save michielmulders/989c2c9af02594defd46f612aae99ad4 to your computer and use it in GitHub Desktop.
Zola YouTube shortcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div {% if class %}class="{{class}}"{% endif %}> | |
<iframe | |
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}" | |
webkitallowfullscreen | |
mozallowfullscreen | |
allowfullscreen> | |
</iframe> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment