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;
}
.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 */
@media (max-width: 768px) {
.video-container {

View File

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