hugo/docs/layouts/shortcodes/youtube.html

4 lines
213 B
HTML

<div class="video-container">
<iframe class="youtube-player" type="text/html" width="100%" height="auto" src="https://www.youtube.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
</iframe>
</div>