live block

This commit is contained in:
Logan Detty
2025-09-24 17:54:40 -04:00
parent 41a8701fdb
commit 39413175c1
2 changed files with 27 additions and 10 deletions

View File

@@ -197,6 +197,21 @@ small {
margin: auto; margin: auto;
} }
.video-container-live {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio (9 / 16 = 0.5625) */
height: 0;
overflow: hidden;
}
.video-container-live iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
/* Mobile styles */ /* Mobile styles */
@media (max-width: 768px) { @media (max-width: 768px) {
.video-container { .video-container {

View File

@@ -59,17 +59,19 @@
<div class="container"> <div class="container">
<h2>Watch BTCforPlebs Live</h2> <h2>Watch BTCforPlebs Live</h2>
<div class="video-container-live">
<iframe <iframe
src="https://live.btcforplebs.com/live/output.m3u8" src="https://live.btcforplebs.com/live/output.m3u8"
title="BTCforPlebs Live" title="BTCforPlebs Live"
height="350px"
width="100%"
frameborder="0" frameborder="0"
allowfullscreen allowfullscreen
autoplay autoplay
playsinline loop
referrerpolicy="origin"
></iframe> ></iframe>
</div> </div>
</div>
</div>
<!-- Social Links Section --> <!-- Social Links Section -->
<div class="social-icons"> <div class="social-icons">