Closed (fixed)
Project:
Embedded Media Field
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
28 Sep 2007 at 18:56 UTC
Updated:
13 Nov 2007 at 14:01 UTC
Jump to comment: Most recent file
Comments
Comment #1
theorichel commentedI am having precisely the same problem
Theo Richel
Comment #2
theorichel commentedBut I got it working by pasting an embedded code from YT that doesnt include related videos
Comment #3
aaron commentedah, looks like i need to tweak the regex parser to account for &queries.
thanks,
aaron
Comment #4
sfinerty commentedSorry - thought I updated this - I also got it working with out the '&rel=1' on the end of the URL which I am guessing signifies including 'related videos'.
Comment #5
sebs commentedAttached is a patch file with a regex modification; it allows youtube video IDs to be extracted when they contain &rel=1.
Please review this code, as my regex skills are not optimized. Also, this is the first time I'm submitting a patch file, so please let me know if I need to change anything regarding the way I'm submitting it.
cheers,
Sebastián
Comment #6
bao truong commentedHi Sebastián,
I had the exact same problem and posted it on the bugs section but did not hear a response and so I am really glad to stumble across this post in pending bugs section. I have never applied a patch before so please excuse my Drupal incompetence, but would you be able to tell me how to exactly apply this patch? I've already installed the latest embedded media field module.
Comment #7
aaron commentedchanged it to
to handle things more generically. there was a " at the end that shouldn't have been there.
thanks sebs & everyone.
aaron
Comment #8
bao truong commentedSo are we replacing:
with
?
Comment #9
aaron commentedif you download the latest version, it will have the patch applied. (i didn't post the revision of the patch here; i just applied it directly).
Comment #10
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.