You are here

function audio_js_help in audio.js 7

Implements hook_help().

File

./audio_js.module, line 11
This is the main script for the audio.js module. It merely contains the implementation of hooks invoked by Drupal core.

Code

function audio_js_help($path, $arg) {
  switch ($path) {

    // Main module help for the Field Permissions module.
    case 'admin/help#audio_js':
      return '<p>' . t('The audio.js module uses the native HTML5 audio tag where available and an invisible flash player to emulate audio tag for other browsers. It provides a consistent html player UI to all browsers which can be styled with custom css. You must first download the audio.js library !audio_js then extract the audiojs archive and copy the contents into your Drupal libraries directory, so that the audio.min.js file can be found at %path. To use the player go to your content types display settings select audio.js or audio.js playlist as you field format.', array(
        '!audio_js' => l(t('http://kolber.github.com/audiojs/'), 'http://kolber.github.com/audiojs/'),
        '%path' => 'libraries/audiojs/audio.min.js',
      )) . '</p>';
  }
}