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; ?>

We will be happy to see your thoughts

Leave a reply

Search