9. Adding a fun page ↑
9.4. Embedded video
I’ve made a couple of nice Notenik videos that are both available on YouTube, so let’s embed those.
For our first pass at this, we’re just going to copy and embed the HTML code provided by YouTube, in just the same way that Blake did. There is nothing particular to Markdown or Notenik here.
Here’s the way the code looks.
<iframe width="560" height="315" src="https://www.youtube.com/embed/JR0kpAUXM5E?si=b6oOKKQGSMSweqTv" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
And here’s what happens when you embed it in your Body.
That’s the first way to do this, but it has all the same issues that Blake identified.
So now we’ll see how to do it the second way.
Next: 9.5. Template changes