Skip to content

Commit

Permalink
another syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mexikoedi committed Sep 7, 2024
1 parent 969dc69 commit dfeeffd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h1 class="display-4 p-5">mexikoedi</h1>
<h2 class="p-3">Demonstrations</h2>
<p class="mb-4">A collection of YouTube videos that showcase my various projects.</p>
<div class="ratio ratio-21x9">
<iframe data-src="https://www.youtube-nocookie.com/embed/videoseries?list=PLxlcWgkzKADwTTHndYpfcLT0OTfWrH0Zo" loading="lazy" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
<iframe data-src="https://www.youtube-nocookie.com/embed/videoseries?list=PLxlcWgkzKADwTTHndYpfcLT0OTfWrH0Zo" title="YouTube video player" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe>
</div>
</div>
</section>
Expand Down Expand Up @@ -351,7 +351,7 @@ <h2 class="p-3">About</h2>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script>
document.addEventListener('DOMContentLoaded', function () {
const iframe = document.querySelector('iframe');
const iframe = document.querySelector('iframe[data-src]');
const observer = new IntersectionObserver((entries, observer) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
Expand Down

0 comments on commit dfeeffd

Please sign in to comment.