Synch

diff($now);
$hours = $diff->format(“%H”);
$minutes = $diff->format(“%i”);
$seconds = $diff->format(“%s”);
if($now<$playtime){ echo "The movie hasn't started yet."; }else{ echo "We are " . $hours . " hours, ". $minutes . " minutes, and " . $seconds . " into the movie."; $url = "http://youtu.be/3fMocK69WCY?t=" .$hours . "h" . $minutes . "m" . $seconds . "s"; //echo $url; ?>

Leave a Reply

Scroll to Top