function fitvids_help in FitVids 6
Same name and namespace in other branches
- 8 fitvids.module \fitvids_help()
- 7 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 20 - Includes the FitVids.js jQuery plugin for fluid width video embeds.
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 .= '<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>';
return $output;
break;
}
}