Closed (cannot reproduce)
Project:
Media: SoundCloud
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
3 Oct 2010 at 20:16 UTC
Updated:
14 Jan 2013 at 20:47 UTC
Jump to comment: Most recent file
Comments
Comment #1
joachim commentedBasically, I put that on the project page because the module was written for the 1.x branch of Emfield, and I didn't have time to try it with the 2.x branch. When in doubt, play safe! ;)
Very glad to hear it works fine with the 2.x branch. I'll amend the project page. Thanks for reporting this!
Comment #3
davebv commentedI get a warning with emfield 6.x-2.3
warning: Parameter 6 to emaudio_soundcloud_audio() expected to be a reference, value given in sites/all/modules/emfield/emfield.module on line 650.
And nothing is showed up.
Comment #4
davebv commentedComment #5
ramirez.gerardo commentedI found a workaround:
go to line 155 and remove the node reference from the 6 parameter. change it to the following:
function emaudio_soundcloud_audio($embed, $width, $height, $field, $item, $node, $autoplay)
I'm going through the source now to try to wrap my head around it all.
Thanks,
gerardo
Comment #6
joachim commentedIf you could roll that as a patch that would be great, thanks.
(That's not a workaround, that's a fix!)
Comment #7
ramirez.gerardo commentedI've attached the patch here which solves the following error.
warning: Parameter 6 to emaudio_soundcloud_audio() expected to be a reference, value given in sites/all/modules/emfield/emfield.module on line 650.
Comment #8
joachim commentedThanks!
The correct status now we have a patch is 'needs review', btw :)
This would also need testing with versions of emfield prior to 2.3 -- if this patch breaks those versions, then we will need to specify on the project page that there's a minimum version requirement for emfield.
Comment #9
ramirez.gerardo commentedVery cool and thanks for helping me out with this. I'll be sure to test versions prior to emfield 2.3.
Best regards,
Gerardo Ramirez
Comment #10
shadysamir commentedPatch from #7 works with emfield-6.x-2.5
Comment #11
shadysamir commentedSame patch from #7 needs to be applied to emaudio_soundcloud_preview() for preview player display
Comment #12
joachim commentedVersion 6.x-1.3 of Media: Soundcloud works fine for me with Emfield 6.x-2.5.
If you're having a problem with these versions, please reopen with an explanation of how to reproduce the problem.
Comment #13
ufku commentedThis is reproducable with PHP 5.3.
Comment #14
13rac1 commented