You are here

function hook_v_get_params in Video 6.2

Same name and namespace in other branches
  1. 6 hooks.php \hook_v_get_params()

The hook_v_get_params is used by plugins to write an html param inside inside video generated object tag during the play.

Parameters

$node the node on which is being played:

Return value

a keyed array of tipe 'param_name'=>'param_value'

1 function implements hook_v_get_params()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

video_params_v_get_params in plugins/video_params/video_params.module
Implementation of hook_v_get_param() - video module specific hook
1 invocation of hook_v_get_params()
_video_get_parameters in ./video.module
Generates the HTML for any object parameters in an embedded video.

File

./hooks.php, line 48
The video module has some hooks which should make adding new features to the video module easier.

Code

function hook_v_get_params(&$node) {
  return array(
    'flashVars' => 'autostart=true&url=false',
  );
}