start.php 452 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * ZAudio - a simple mp3 player
  4. * A simple plugin to play mp3 files on the page
  5. * http://wpaudioplayer.com/license
  6. * http://wpaudioplayer.com/standalone
  7. *
  8. * @package ElggZAudio
  9. */
  10. elgg_register_event_handler('init', 'system', 'zaudio_init');
  11. function zaudio_init() {
  12. elgg_extend_view('css/elgg', 'zaudio/css');
  13. $js_url = elgg_get_site_url() . 'mod/zaudio/audioplayer/audio-player.js';
  14. elgg_register_js('elgg.zaudio', $js_url);
  15. }