diff options
author | Heshan Wanigasooriya <heshanmw@gmail.com> | 2010-03-23 04:17:29 +0000 |
---|---|---|
committer | Heshan Wanigasooriya <heshanmw@gmail.com> | 2010-03-23 04:17:29 +0000 |
commit | 8041073c8d74e5d24e3b9f10143f3e4bd04db2de (patch) | |
tree | 89827aac40d499a41c4deae85719712630836568 /hooks.php | |
parent | b66f50d2ce11d0cc8bb53af94ad86278d3fe8e51 (diff) | |
download | video-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.gz video-8041073c8d74e5d24e3b9f10143f3e4bd04db2de.tar.bz2 |
removing old files and commenting new file field and other files to the vidoe module page.
Diffstat (limited to 'hooks.php')
-rw-r--r-- | hooks.php | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/hooks.php b/hooks.php deleted file mode 100644 index 69edabe..0000000 --- a/hooks.php +++ /dev/null @@ -1,54 +0,0 @@ -<?php -//$Id$ -/** - * @file - * 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. - * - * Video module hooks are different from standard drupal hooks - * Video module hooks have a leading "v_". The name of a function which - * is implementing a video hook is something like: modulename_v_hookname - * - * 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 plugins folder. - * - * @author Fabio Varesano <fvaresano at yahoo dot it> - * @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. - -@param $node the node on which is being played - -@return a keyed array of tipe 'param_name'=>'param_value' -*/ -function hook_v_get_params(&$node) { - return array('flashVars' => 'autostart=true&url=false'); -} - - - |