introducing ordinary people to extraordinary, ever-growing life in Jesus, our Savior

Live Video

[php] /*===========================================================================*/
/* SERMON NOTES — begin */
/*===========================================================================*/
$THIS_SermonNotes = “”;
$THIS_SermonNotes = $THIS_SermonNotes.”1.Pray humbly with boldness (v35-38)”.” “;
$THIS_SermonNotes = $THIS_SermonNotes.”□ I will be open & vulnerable with the Lord about where I need change.”.” “;
$THIS_SermonNotes = $THIS_SermonNotes.”2. Pray against the flow (v39)”.” “;
$THIS_SermonNotes = $THIS_SermonNotes.”□ I will silence the negative voices and pray for the miraculous.”.” “;
$THIS_SermonNotes = $THIS_SermonNotes.”3. Pray until God answers so others can experience God’s glory (v40-43) “.” “;
$THIS_SermonNotes = $THIS_SermonNotes.”□ In my prayer life, I will focus on God enhancing His kingdom impact in the lives of those around me.”;
$THIS_SermonNotes = “”;
/*===========================================================================*/
/* SERMON NOTES — end */
/*===========================================================================*/
/*===========================================================================*/
/* CHECK BROWSER TYPE — begin */
/*===========================================================================*/
$myUserAgent = $_SERVER[‘HTTP_USER_AGENT’];
$THIS_BROWSER = “GENERAL”;
for ($x=1; $x<=strlen($myUserAgent); $x++) { if (substr($myUserAgent, $x, 4) == “iPad”) { $THIS_BROWSER = “iOS”; } if (substr($myUserAgent, $x, 6) == “iPhone”) { $THIS_BROWSER = “iOS”; } if (substr($myUserAgent, $x, 7) == “Android”) { $THIS_BROWSER = “Android”; } } /*===========================================================================*/ /* CHECK BROWSER TYPE — end */ /*===========================================================================*/ /*===========================================================================*/ /* CHECK IF THE STREAM IS LIVE — begin */ /*===========================================================================*/ $link = mysqli_connect(‘whitehall.church’, ‘wbfc3300’, ‘REDSreds1005!!’); if (!$link) { echo “Error: Unable to connect to MySQL.” . PHP_EOL; echo “Debugging errno: ” . mysqli_connect_errno() . PHP_EOL; echo “Debugging error: ” . mysqli_connect_error() . PHP_EOL; exit; } $query = “select * from livestream where lsStart is not null and lsEnd is null order by lsStart desc limit 1”; mysqli_select_db($link, “wbfc3300”); $result = mysqli_query($link, $query); if (!$result) { $message = ‘Invalid query: ‘ . mysqli_error() . “\n”; $message .= ‘Whole query: ‘ . $query; die($message); echo “Could not connect to the table!”; } $THIS_DNS = “”; while ($row = mysqli_fetch_assoc($result)): $THIS_Start= $row[‘lsStart’]; $THIS_Scripture= $row[‘lsScripture’]; $THIS_DNS = $row[‘lsPublicDNSName’]; $THIS_Notes = $row[‘lsNotes’]; $THIS_Conn = ‘Connection Card‘;
endwhile;

mysqli_close($link);

/*===========================================================================*/
/* CHECK IF THE STREAM IS LIVE — end */
/*===========================================================================*/
if ($THIS_DNS <> ”) {
if (strlen($THIS_DNS) > 20) {
switch ($THIS_BROWSER) {
case “GENERAL”:
echo ‘

‘;
echo ‘
‘;
echo ‘

‘.$THIS_Notes.’

‘;
echo ‘

(‘.$THIS_Scripture.’)

‘;
echo ‘‘;
echo ‘

The player will be placed here

‘;
echo ‘‘;
echo ‘
‘;
echo $THIS_Conn;
echo ‘

‘;
echo ‘

‘;
echo ‘
‘;
echo ‘
BibleGive
‘;
echo ‘‘;
echo ‘English Standard Version (ESV)’;
echo ‘
‘;
echo ‘

Give to the Work of Christ in the Lehigh Valley

‘;
echo ‘

‘;
echo ‘Give Online | one-time or recurring‘;
echo ‘‘;
echo ‘

There is a small service fee for processing online payments. We encourage you to use your bank account rather than a credit card since the fees associated with bank account transactions are lower.

‘;
echo ‘

‘;
echo ‘‘;
echo ‘

‘;
echo ‘

‘;
echo ‘
‘;
break;
case “iOS”:
$iOS_STREAM = “http://”.$THIS_DNS.”:1935/live/stream/playlist.m3u8″;
echo ‘

View the Video on Your Apple Device

‘;
echo ‘‘;
echo $THIS_Conn;
break;
case “Android”:
$Android_STREAM = “rtsp://”.$THIS_DNS.”:1935/live/stream”;
echo ‘

View the Video on Your Android Device

‘;
echo $THIS_Conn;
break;
}
}
/*—————————————————————————-*/
/* IF THE BROADSCAST IS YOUTUBE */
/*—————————————————————————-*/
else {
echo ‘

‘;
echo ‘
‘;
echo ‘‘;
echo ‘
‘;
echo $THIS_Conn;
echo ‘

‘;
echo ‘

NOTE: We are using a new broadcasting service today. If you have any technical difficulties, please click here to contact us. We want to know how this new service is working (or not working) for you!

‘;
echo ‘

‘;
echo ‘
‘;
echo ‘
BibleGiveNotesChat
‘;
echo ‘‘;
echo ‘English Standard Version (ESV)’;
echo ‘
‘;
echo ‘

Give to the Work of Christ in the Lehigh Valley

‘;
echo ‘

‘;
echo ‘Give Online | one-time or recurring‘;
echo ‘‘;
echo ‘

There is a small service fee for processing online payments. We encourage you to use your bank account rather than a credit card since the fees associated with bank account transactions are lower.

‘;
echo ‘

‘;
echo ‘‘;
echo ‘
‘;
echo ‘

‘;
echo ‘‘;
echo ‘

‘;
echo ‘

‘;
echo ‘‘;
echo ‘

‘;
echo ‘

‘;
echo ‘
‘;
}
}
else {
echo ‘

Live Video Stream is Currently Offline

‘;
echo ‘

The next live worship gathering will be Sunday at 10:15am. We usually begin the broadcast fifteen minutes before worship begins.

‘;
echo ‘

Our Worship Gathering is from 10:15am until 11:30am on Sundays.

‘;
echo ‘

Find out more about:

‘;
echo ‘

    • ‘;
    • echo ‘

‘;
echo ‘

‘;
echo ‘

‘;
}
[/php]

Due to Covid-19, all church events are cancelled through much of April. Worship with Us Online Sundays at 10:15am
+