You are here

function _video_get_parameters in Video 6.2

Same name and namespace in other branches
  1. 5 video.module \_video_get_parameters()
  2. 6 video.module \_video_get_parameters()

Generates the HTML for any object parameters in an embedded video.

Parameters

$node the node which is being played:

Return value

string with the parameters in HTML form.

8 calls to _video_get_parameters()
theme_video_google_play in types/video_google/video_google.module
Play videos hosted on video.google.com Allows users to host videos on video.google.com and then use the video ID to post it in the module.
theme_video_play_dcr in includes/common.inc
Play Director .dcr/.dir files.
theme_video_play_flash in includes/common.inc
Play videos from in FLV Flash video format
theme_video_play_quicktime in includes/common.inc
Play videos from in Quicktime format
theme_video_play_realmedia in includes/common.inc
Play videos from in Realmedia format

... See full list

File

./video.module, line 1456
video.module

Code

function _video_get_parameters(&$node) {

  // call hook_v_get_params
  $param_value = module_invoke_all('v_get_params', $node);
  $output = '';
  foreach ($param_value as $param => $value) {
    $output .= '<param name="' . check_plain($param) . '" value="' . check_plain($value) . '" />\\n';
  }
  return $output;
}