Closed (works as designed)
Project:
Flash Node
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Jul 2008 at 11:21 UTC
Updated:
22 Jul 2008 at 12:04 UTC
Hi!
I tried out the Flash-node module and have to say: great work!
But how do i get the video duration from the current flash-video?
is there a variable in the $video array?
Thanks
Comments
Comment #1
Stuart Greenfield commentedThere isn't a means to get the video duration from within flash node. Flash node just helps Drupal show the file, but it doesn't need to worry how long the file is.
Once flash node has stored the file you have the path to it, so it would be possible to write your own custom code to get the information you need. There is some example code here that describes using some PHP code and FFMPEG to obtain the duration of a file. Without reading it in detail I am guessing it refers to flv (flash video) files.
Glad you like flash node!