How to implement a duration field? I am constructing a content type that will 'wrap' a video, either youtube, vimeo or file upload. One of the fields required is a 'duration' field. Obviously a requirement is also for the videos to be sortable in a view based on that field.

How would I go about doing that? A format of H:i:s or i:s would be prefered in a textfield as an input method.
Posting my comment as answer - Check for HMS (Hours Minutes Seconds) Field module.


  Displays a integer formatted as Hours, Minutes or Seconds.
  The field stores values as integer. Both input and output can be formatted as Hours, Minutes and/or Seconds. Alter functions provides developers a way to add their own format.