Closed (fixed)
Project:
Media: SoundCloud
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
29 Sep 2010 at 11:48 UTC
Updated:
13 Oct 2010 at 14:10 UTC
Jump to comment: Most recent file
When embed code from Sound Cloud is pasted in to the field, it does not display anything, it only displays when you paste in the URL directly.
| Comment | File | Size | Author |
|---|---|---|---|
| #4 | 926244.media_soundcloud.embed-code.patch | 853 bytes | joachim |
| #3 | embed.patch | 885 bytes | mccarthyr |
| #1 | embedCode.patch | 751 bytes | mccarthyr |
Comments
Comment #1
mccarthyr commentedAttached is a patch that allows for embed code to be pasted into the field.
Comment #2
joachim commentedComments and code don't agree! What happens if the array key is zero or an empty string? Should we be testing for NULL or just a false value?
For future reference, please create patches from the base folder of a module -- see http://drupal.org/patch/create for more details.
Also, 'fixed' is only set when the patch is committed. It should have been 'needs review'; it's now 'needs work' ;)
Comment #3
mccarthyr commentedUpdated patch attached.
Comment #4
joachim commentedPatch still doesn't apply -- rolled against the wrong folder again. Also try to avoid whitespace changes getting into patches; in longer patches they make reviewing a real pain and at any rate always need to be picked out by hand.
Committed the attached fixed version of the patch to CVS.
#926244 by mccarthyr: Fixed support for embed codes.
New release on the way.