Closed (fixed)
Project:
AudioField
Version:
7.x-1.0-beta8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
18 Mar 2013 at 21:31 UTC
Updated:
12 Sep 2016 at 12:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
gthing commentedA temporary workaround is to rename the button player as if it were the regular XSPF player and put it in the appropriate directory.
Comment #2
kaidjohnson commentedThe xspf button player doesn't work because the callback function is pointing to a non-registered theme. In hook_theme() there is a call to _audiofield_theme() which pulls in the player themes. In that function is a registered 'audiofield_players_xspf_button' theme, but the xspf_button callback calls 'audiofield_xspf_button', so nothing renders. Updating the theme call in the callback fixes the issue and now the button works perfectly. Patch provided.
Also, be sure that your player is pointing to the right path, that is: sites/all/libraries/player/button/musicplayer.swf as stated in the README.
Comment #3
proteo commentedThanks for the patch @kaidjohnson, it worked fine. I can't believe this bug hasn't been fixed yet.
Comment #4
ws.agency commentedPatch reviewed and tested. Works fine
Comment #5
ws.agency commentedPatch pushed to git