Drupal 7
UPDATE: I would like to welcome m4olivei, who will be contributing to this project actively for drupal7.
Thanks to his work, the port to D7 is becoming real.
Old:
I started to port this module to drupal 7, but unfortunately I have not the time to port the module to D7.
Anyway, any patches you provide will be tested and added to the module if they seem to work.
The idea is to drop the audio module integration in the 7.x version, and try to integrate with media module which it is amazing.
Watch the progress: #701076: Port soundmanager2 to Drupal 7
I received some request for this module to be ported, I would suggest everybody wanting this module to be in d7, open a feature request in the issue queue AND help me test this module under d7. Thanks everybody!
SM2
This modules provides Drupal with the soundmanager2 player and with two styles: page-player and ui360.
Basically there are three modules:
- Sound Manager 2 module: adds the required swf and js for embedding the player. This is considered to be finished. Other modules should use this module to load the soundmanager2 player.
- A CCK formatter: for filefield and nodereference for audio.module nodes.
- An SM2 audio modules integration: provides a new player with both styles for audio.module nodes
The styles are "muxtape" (page-player)
http://www.schillmania.com/projects/soundmanager2/demo/page-player/
and ui360.
http://www.schillmania.com/projects/soundmanager2/demo/360-player/canvas...
This players are taken from the demos with some modifications, and should be mostly usable. Anyway, the page-player present some glitches when used with audio module.
Instructions
- Install the module as usual.
- Download soundmanager2 from http://www.schillmania.com/projects/soundmanager2/doc/download/
- Unzip to sites/all/libraries/soundmanager2 (as of 2.3 version, previous were all/shared instead) Or a custom folder, you may set this up in the admin pages of soundmanager2 module.
Note: dev version does not use this patch anymore, and this feature will be removed in final version.
And if you want fully featured player title (from id3 tag, apply the patch from http://drupal.org/node/480754#comment-2140588 to filefield)
FileField
If you do not need extra information such id3 tags (with audio module), filefield should be enough. By default, the name shown in the player is the "Description" if enabled, the filename is displayed otherwise.
Audio Module Integration
Currently, if you have the audio module (and audio_getid3 to get the tags) active, you should be able to reference an audio node and add the audio attached to it
Steps:
- Activate audio module, http://drupal.org/project/audio
- Activate Sound Manager 2 playlist CCK formatter (sm2_plst_cck)
- Add a CCK node reference field, and set up to choose from audio content type
- In display, choose "Audio integration. Soundmanager2"
- There you go!
Audio module Extension
The ui360 player is added to the audio module with sm2_audio submodule!!!!!!!
- Activate audio module http://drupal.org/project/audio
- Activate SoundManager 2 audio player (sm2_audio)
- Edit admin/audio/players, choose ui360 or page player.
- There you go!
Exclude mp3
If you want mp3 to be excluded inside the ul playlist, add the class "exclude" to the anchor tag.
<?php
<a href="file.mp3" class="exclude">Download</a>
?>Discussion
I am thinking on rewriting this module and make it several submodules. Let the Soundmanager2 be a central manager for including the scripts and the player, and have other module to activate the CCK formatters.
Plase, see #614662: Separate into several modules. and post your opinion. Thank you!
Related
If you want more formatters for players, have a look at http://drupal.org/project/swftools
Version 2
Now separates the module into the base sm2 (for allowing dependencies for other modules) and the cck formatter as before.
The CCK formatter is working with Filefield and Audio nodereference.
For more info: #614662: Separate into several modules.
Troubleshooting
There is an option to show debug information. To see this, you should activate debug mode in the soundmanager2 admin page. Then, activate the block (sm2 debug).
Looking for a co-maintainer
Since I was extremely busy lately and it seems I'll keep in that situation for long, I would like to find a co-maintainer for this project. Please, post your interest and patches here #849314: Looking for a co-maintainer
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Reported installs: 827 sites currently report using this module. View usage statistics.
- Last modified: May 6, 2011