youtube version

This commit is contained in:
2024-10-19 17:48:57 +02:00
parent f86e484b9d
commit 0911c02e0a
2 changed files with 55 additions and 2 deletions

View File

@@ -1,6 +1,10 @@
<header id="masthead" style="background-image: url(<?= get_header_image() ?>)" class="home">
<div class="video-container">
<video autoplay muted loop src="<?= get_field('video_header', 'option') ?>"></video>
<div class="video-foreground">
<iframe
src="https://www.youtube.com/embed/<?= get_field('video_header', 'option') ?>?controls=0&showinfo=0&rel=0&autoplay=1&loop=1&mute=1"
frameborder="0" allowfullscreen></iframe>
</div>
</div>
<div class="header-cointainer">
@@ -41,7 +45,8 @@
</nav>
</div>
<a href="<?= get_field('linkedin_link', 'option') ?>" target="_blank">
<img src="<?= get_field('abrevitura_de_linkedin', 'option') ?>" alt="Linkedin" class="linkedin hidden lg:block ">
<img src="<?= get_field('abrevitura_de_linkedin', 'option') ?>" alt="Linkedin"
class="linkedin hidden lg:block ">
</a>
</nav>