Forum topic: Module Wishlist
Submitted by mcneelycorp on Wed, 2007/08/15 - 15:24.
Here is a starting post to add features to this module. I will add mine a bit later.
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