Same name in other branches
- 2.0.x fitvids.module \fitvids_help()
- 7.x-1.x fitvids.module \fitvids_help()
- 8.x-1.x fitvids.module \fitvids_help()
Implements hook_help.
Displays help and module information.
Parameters
path : Which path of the site we're using to display help
arg : Array that holds the current path as returned from arg() function
File
-
./
fitvids.module, line 22
Code
function fitvids_help($path, $arg) {
switch ($path) {
case "admin/help#fitvids":
$output = '';
$output .= '<h3>' . t('About') . '</h3>';
$output .= '<p>' . t("FitVids is a jQuery plugin for fluid width video embeds.") . '</p>';
$output .= '<p>' . t("It's useful if you are using a responsive theme (such as Omega), and want the videos to scale.") . '</p>';
$output .= '<p>' . t("It currently supports Vimeo,YouTube, Blip.tv, Viddler, Kickstarter.") . '</p>';
$output .= '<h3>' . t('Further info') . '</h3>';
$output .= '<p>' . t("There is an explanatory blog post at http://daverupert.com/2011/09/responsive-video-embeds-with-fitvids/") . '</p>';
$output .= '<p>' . t("See the code at https://github.com/davatron5000/FitVids.js/") . '</p>';
return $output;
break;
}
}