Hi,

The video module gives great results for YouTube videos. I wonder if anyone can tell me how to remove the help link provided beneath each video :

Problems viewing videos?
youtube.com

Thanks
http://blog.jamar.mr

Comments

coreyp_1’s picture

You can't do it without hacking the module file. Hiding it with CSS might be a better option.

If you absolutely want to remove the code, then you can do so by modifying the last line of the _theme_video_format_play function to read return '';, probably around line 1455 of video.module (depending on what version you're using).

Hope that helps.

- Corey

gillesbailleux’s picture

Corey,

Thanks for your help ; it works fine :

function _theme_video_format_play($output, $url, $title, $link_text) {
  $output = "\n<div id=\"video-player\">\n" . $output;
# $output .= "<p>\n". t('Problems viewing videos?');
  $output .= "<p>\n";
# $output .= "<br />\n";
# $output .= l($link_text, $url, array('title' => $title), NULL, NULL, TRUE);
  return $output ."\n</p> \n </div>\n";
}

Best regards,

Gilles

esllou’s picture

neater solution:

#video-player p{
display:none;
}