migration, more images, index.html, youtube.html

This commit is contained in:
kylejcarlton 2021-11-26 17:01:10 -06:00
parent 4438fd659e
commit 8a58ed2bfe
7 changed files with 50 additions and 23 deletions

View file

@ -0,0 +1,19 @@
.responsive-iframe {
position: absolute;
top: 0;
left: 0;
bottom: 0;
right: 0;
width: 100%;
height: 100%;
}
<div {% if class %}class="{{class}}"{% endif %}>
<iframe
class="responsive-iframe"
src="https://www.youtube.com/embed/{{id}}{% if autoplay %}?autoplay=1{% endif %}"
webkitallowfullscreen
mozallowfullscreen
allowfullscreen>
</iframe>
</div>