public function video_phpvideotoolkit::get_playtime in Video 7
Return the playtime seconds of a video
1 call to video_phpvideotoolkit::get_playtime()
File
- transcoders/
video_phpvideotoolkit.inc, line 366
Class
Code
public function get_playtime($video) {
$video_info = $this
->get_video_info($video);
return $video_info['duration']['seconds'];
}