You are here

public function video_phpvideotoolkit::get_playtime in Video 7

Return the playtime seconds of a video

1 call to video_phpvideotoolkit::get_playtime()
video_phpvideotoolkit::generate_thumbnails in transcoders/video_phpvideotoolkit.inc

File

transcoders/video_phpvideotoolkit.inc, line 366

Class

video_phpvideotoolkit

Code

public function get_playtime($video) {
  $video_info = $this
    ->get_video_info($video);
  return $video_info['duration']['seconds'];
}