Skip to content

Commit

Permalink
load overlay first idk anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
HielkeMaps committed Apr 13, 2024
1 parent 4cffad8 commit f7434b6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/upcoming.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
<div class="col-xl-8">
<div class="videoWrapper shadow-xl">
{% if page.youtube-id %}
<iframe id="player" src="https://www.youtube.com/embed/{{page.youtube-id}}?autoplay=1&mute=1&enablejsapi=1" allow="autoplay" frameborder="0"></iframe>
<script async src="https://www.youtube.com/iframe_api"></script>
<div id="countdownOverlay">
<div class="frame">
<h1 id="revealText">New map reveal in:</h1>
Expand All @@ -28,6 +26,8 @@ <h1 id="countdownText"></h1>
</div>
</div>
</div>
<iframe id="player" src="https://www.youtube.com/embed/{{page.youtube-id}}?autoplay=1&mute=1&enablejsapi=1" allow="autoplay" frameborder="0"></iframe>
<script async src="https://www.youtube.com/iframe_api"></script>
{% else %}
<img src="{{ site.baseurl }}/media/upcoming.jpg" class="absolute w-100 h-100" />
{% endif %}
Expand Down

0 comments on commit f7434b6

Please sign in to comment.