Forum topic: Module Wishlist

Here is a starting post to add features to this module. I will add mine a bit later.

An API to get properties of the video, such as video duration, width, height, file size, etc. Something like node_load, but to get the properties of videos.

There is a node load for this. The module owner decided to make his own function but it is available: _op_video_load($video)

I am not sure if that will give you an API but with that info you can display the video info on the node itself.

If you use the built-in node type, then node_load loads all the video properties into an object called 'video'.

_op_video_load() is a separate function because it is used by both the node type and the field type.

Just one tip for you :)
Using Media Mover API would extend your module - there is Amazon S3 storage, watermark creation already written, EC2 in progress etc. - or you can rewrite it's functions for yourself :P

I know that EC2 is a concurrent service, and it has price as you... But your is cheaper, if someone don't use S3...
Sorry for my English

thank you, you saved my life! ;)

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <h1> <h2> <h3> <h4> <b>
  • Lines and paragraphs break automatically.
  • Internal paths in double quotes, written as "internal:node/99", for example, are replaced with the appropriate absolute URL or relative path.
  • Web page addresses and e-mail addresses turn into links automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options