Hi!
I have the following youtube.html
shortcode under /layout/shortcodes/
:
<div class="embed video-player">
<iframe class="youtube-player" type="text/html" width="800" height="400" src="https://www.youtube-nocookie.com/embed/{{ index .Params 0 }}" allowfullscreen frameborder="0">
</iframe>
</div>
I set into a page (md file) the following:
{{< youtube string >}}
where the string is the value after v on YouTube.
It worked, and I don’t know what happened, but on the web page, a box appears as the image I attached.
The webpage is About me | NicFab Notes.
I don’t see any error from the console.
Any help?