Skip to content

Commit

Permalink
add title to video iframe
Browse files Browse the repository at this point in the history
  • Loading branch information
evanwill committed Sep 3, 2021
1 parent 99af1c2 commit 8377286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h1>{{ page.title }}</h1>
<div class="text-center mb-4 border rounded p-2">
<figure class="mb-0">
<div class="embed-responsive embed-responsive-16by9">
<iframe class="embed-responsive-item" src="https://www.youtube-nocookie.com/embed/{{ page.youtubeid }}?rel=0&modestbranding=1" allowfullscreen></iframe>
<iframe title="{{ page.title }} section video" class="embed-responsive-item" src="https://www.youtube-nocookie.com/embed/{{ page.youtubeid }}?rel=0&modestbranding=1" allowfullscreen></iframe>
</div>
<figcaption class="figure-caption mt-1"><a href="https://youtu.be/{{ page.youtubeid }}" target="_blank" rel="noopener">Section Video</a></figcaption>
</figure>
Expand Down

0 comments on commit 8377286

Please sign in to comment.