soundmanager.builder.js 518 B

12345678910111213141516171819202122
  1. /**
  2. * DO NOT EDIT THIS FILE.
  3. * See the following change record for more information,
  4. * https://www.drupal.org/node/2815083
  5. * @preserve
  6. **/
  7. (function ($, Drupal) {
  8. 'use strict';
  9. Drupal.behaviors.audiofieldsoundmanager = {
  10. attach: function attach(context, settings) {
  11. soundManager.setup({
  12. url: settings.audiofieldsoundmanager.swfpath,
  13. preferFlash: false,
  14. defaultOptions: {
  15. volume: settings.audiofieldsoundmanager.volume
  16. }
  17. });
  18. }
  19. };
  20. })(jQuery, Drupal);