| Server IP : 10.200.247.200 / Your IP : 216.73.217.19 Web Server : Apache System : Linux synergy-usa-sites 6.8.0-138-generic #138-Ubuntu SMP PREEMPT_DYNAMIC Fri Jul 31 22:41:49 UTC 2026 x86_64 User : jeremy ( 1001) PHP Version : 8.4.25 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /var/www/church_sites/lvsaints.com_crimsoncliffs/ |
Upload File : |
<?php
//header("Location: https://lvsaints.com");
//exit(0);
if(empty($_SERVER['HTTPS']) || $_SERVER['HTTPS']=='off') {
$url = 'https://'.$_SERVER['SERVER_NAME'];
header("Location: {$url}");
exit(0);
}
require_once($_SERVER['DOCUMENT_ROOT'].'/includes/mysql.php');
ob_start();
include 'includes/autoload.php';
$page = 'Crimson Cliffs';
$popup_title = 'Crimson Cliffs Live';
?>
<style>
.videoWrapper {
position: relative;
padding-bottom: 56.25%; /* 16:9 */
height: 0;
}
.videoWrapper iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
#twitch_blocked_out {
width:85px;
height:50px;
position:absolute;
bottom:0px;
right:0px;
background:#9a8758 url(/img/hearhimsmall.jpg) center center no-repeat;
}
#twitch_blocked_out2 {
width:274px;
height:156px;
position:absolute;
top:0px;
left:0px;
background:transparent;
}
</style>
<center style="margin-bottom:10px;">
<p><i>To hear the audio, click the "unmute" button in the bottom left-hand corner of this screen. If the connection times out, please refresh your browser.</i></p>
<div class="videoWrapper">
<div id="twitch-embed"></div>
<script src="https://embed.twitch.tv/embed/v1.js"></script>
<script type="text/javascript">
var player = null;
var embed = new Twitch.Embed("twitch-embed", { width: 854, height: 480, channel: "meadowsedgechapel", layout: "video", theme: "dark" });
embed.addEventListener(Twitch.Embed.VIDEO_READY, () => {
player = embed.getPlayer();
player.play();
});
</script>
<div id="twitch_blocked_out" onclick="if(player!=null) { player.play(); }"></div>
<div id="twitch_blocked_out2" onclick="if(player!=null) { player.play(); }"></div>
</div>
</center>
<?php
$pageHtml = ob_get_clean();
include 'includes/layout.php';