From a57ba2e81539c2025bf34efff3775a6390423be0 Mon Sep 17 00:00:00 2001 From: Fabio Varesano Date: Sun, 18 Jun 2006 14:13:14 +0000 Subject: Adding file hooks.php for developer who want to extends video module functionality --- hooks.php | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 hooks.php diff --git a/hooks.php b/hooks.php new file mode 100644 index 0000000..a534c1d --- /dev/null +++ b/hooks.php @@ -0,0 +1,35 @@ + + */ + + +/** +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'); +} -- cgit v1.2.3