diff options
Diffstat (limited to 'hooks.php')
-rw-r--r-- | hooks.php | 31 |
1 files changed, 25 insertions, 6 deletions
@@ -1,10 +1,8 @@ -<? -// $Id$ - +<?php /** * @file - * The video module has some hooks which should make the adding - * of new features to the video module easier. + * The video module has some hooks which should make adding + * new features to the video module easier. * * This file contains example of implementation and documentation for * all the available hooks defined in the video module. @@ -16,12 +14,30 @@ * Although each active module which implement a video module hooks * will be executed when that hook is called, if you are developing a * video module specific addition (a plug in) I suggest you to call your - * module video_something and place it under your video module folder. + * module video_something and place it under your video module plugins folder. * * @author Fabio Varesano <fvaresano at yahoo dot it> + * porting to Drupal 6 + * @author Heshan Wanigasooriya <heshan at heidisoft.com><heshanmw@gmail.com> + * @todo */ +//TODO: When we will release a stable version we have to document all the APIs +// the video module have + + +function hook_v_info() {}; + + +/** + * This hook is called by the video_image plugins once + * TODO: better documentation +*/ +function hook_v_autothumbnail($node) { + ; +} + /** The hook_v_get_params is used by plugins to write an html param inside inside video generated object tag during the play. @@ -33,3 +49,6 @@ inside video generated object tag during the play. function hook_v_get_params(&$node) { return array('flashVars' => 'autostart=true&url=false'); } + + + |