Home
Podcasts
Teachings
About
Contact
Contact
{ $data.loading = false // if url has a timestamp then jump the youtube player to that timestamp const searchParams = new URL(window.location.href) .searchParams console.log('timestamp-in-seconds', searchParams.get('timestamp-in-seconds')) if (searchParams.has('timestamp-in-seconds')) { const timestamp = searchParams.get('timestamp-in-seconds') if (timestamp !== null && timestamp?.length > 0 && $data.jumpToTimestamp) { $data.jumpToTimestamp(timestamp) } } }, onStateChange: (event) => { // console.log('onStateChange', event.data); // console.log('YouTube Player getCurrentTime', $data.YouTubePlayer.getCurrentTime()); // @ts-ignore if (event.data === window.YT.PlayerState.PLAYING && $data.hasInitialJumpFromURL === false) { console.log('YouTubePlayer is UNSTARTED!'); // if url has a timestamp then jump the youtube player to that timestamp const searchParams = new URL(window.location.href).searchParams; // console.log('timestamp-in-seconds', searchParams.get('timestamp-in-seconds')); if (searchParams.has('timestamp-in-seconds')) { const timestamp = searchParams.get('timestamp-in-seconds'); // @ts-ignore if (timestamp !== null && timestamp?.length > 0 && $data.jumpToTimestamp) { // console.log('jumping to timestamp', timestamp); // @ts-ignore $data.jumpToTimestamp(timestamp.toString()); $data.hasInitialJumpFromURL = true; // if ($data.YouTubePlayer.getCurrentTime() === parseInt(timestamp)) { // $data.hasInitialJumpFromURL = true; // } } } } } }, }) // clear the htmx history cache so that the back button works //window.localStorage.setItem('htmx-history-cache', 0) " x-show="!loading" x-transition.opacity >
Serving the Schemes of the Devil
Daniel 6 · January 23, 2021
Listen to Pastor Robert Furrow as he continues the series "A Study in Daniel", talking today about Daniel in the lion's den.
Playlists
Daniel
Topics
Daniel
Home
Podcasts
Teachings
About