I have a View displaying multiple audio fields using the SoundManager 2 display format. Unfortunately, it appears that with more than one AudioField displayed or generated within a node or view, the SoundManager 2 container is rendered, but the player functionality is not rendered. This is the code generated instead:
<div id="sm2-container-real" class="ui360">
<a href="http://localhost:8082/sites/default/files/01%20American%20Dream%20Preview.mp3"></a>
</div>
<div id="sm2-container-real" class="ui360">
<a href="http://localhost:8082/sites/default/files/04%20Bonfire%20Preview.mp3"></a>
</div>
Any help would be GREATLY appreciated. Thanks in advance.
Comments
Comment #1
willieseabrook commentedSoundmanager2 is broken, at least with the latest version v297a-20121104. It doesn't work in views pages. It does currently work on node pages, but based on what I have learned looking at the docs in the last couple of hours, I think this is more by chance than anything.
I have updated the support and significantly changed the way the widget is initialized. This now works on both views and nodes.
See attached patch.
Comment #2
willieseabrook commentedComment #3
romansta commentedWorks!
Comment #4
schtink commentedYour patch works perfectly. Thank you.
Comment #5
Funksmaname commentedThanks for the patch!
Comment #6
alauddin commentedpatch tested working on the latest version - 7.x-1.0-beta8
Comment #7
jadwigo commentedit looks like this patch was not integrated in version 1.0
Comment #8
daniel.moberly commentedThis is fixed in latest dev