Postponed (maintainer needs more info)
Project:
Video
Version:
7.x-2.6
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Jun 2012 at 00:31 UTC
Updated:
17 Apr 2014 at 18:39 UTC
Jump to comment: Most recent
Comments
Comment #1
Jorrit commentedAt this moment there is no better way then writing your own query. I plan to add this info to the field information in one of the next releases.
Comment #2
burgs commentedThanks Jorrit,
For anyone else that needs this in the node.tpl file, I've used the following code inside the node preprocess function in template.php in my theme. Any style/performance suggestions are always welcome.
Comment #3
burgs commentedUpdating this to postponed.
Comment #4
Jorrit commentedIf you expect to have many videos, I suggest to use an IN query to fetch all durations in one go. Otherwise, the code is fine.
Comment #5
brycefisherfleig commentedHas a patch for this been committed to a more recent version of this module? 7.x-2.6 is about 4 minor versions behind at this. I'd love to incorporate this feature, but I'm not sure if it's already in the module.