View Single Post
Old 07-20-2008, 05:33 PM  
Sands
Confirmed User
 
Sands's Avatar
 
Join Date: Feb 2007
Location: 418194907
Posts: 3,134
Quote:
Originally Posted by Deej View Post
are you trying to have the video time length next to it without it playing?

like on tube sites and members areas?
This is more along the lines of a submission form. Select the video, the video length is read by Javascript, and is then added as a value in a form field.

Quote:
Originally Posted by fris
dont think so but you could use the php-ffmpeg module

<?
$movie = new ffmpeg_movie('trailer.flv');
$duration = $movie->getduration();
?>

and echo accordingly
Thanks fris. I'll have to keep that in my pocket as plan B and add a little AJAX voodoo to it if it comes to that.
Sands is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote