Closed (outdated)
Project:
oEmbed
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Issue tags:
Reporter:
Created:
26 Mar 2014 at 17:42 UTC
Updated:
20 Oct 2025 at 09:12 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
devin carlson commentedA patch to only split out the Media integration into Media: oEmbed.
Comment #2
devin carlson commentedTested #1 with an existing install and verified that everything continued to work properly with the integration code moved to Media: oEmbed.
Committed #1 to oEmbed 7.x-1.x.
Comment #3
Anonymous (not verified) commentedThis is a good idea.
I think you may have made the input filter optionally dependent on media module when previously it was dependent only on file entity with this patch. If you check out oembed.filter.inc, you'll see that `oembed_resolve_link()` and `oembed_filter_oembed_settings()` both check for file entity and inline modules.
If the file entity hooks are all moved to media_oembed, the filter needs to be dependent on it for this functionality that doesn't require media module at all.
How do you think this should be handled?
Comment #4
Anonymous (not verified) commentedComment #5
Anonymous (not verified) commentedI have removed the obscure dependency of the oEmbed filter on file entity and inline. Please review #2239345. If that patch is all good, then *this* issue's patch is good too!
Comment #6
Anonymous (not verified) commented(By the way, I don't see any evidence that this patch was committed despite what you said in #2.)
Comment #7
Anonymous (not verified) commentedHi, I was too looking for a way to turn off media integration and just use the input filter, just applied split-out-media-integration-2226639-1.patch to 7.x-1.x from git repository today and ran updb:
Tested and deployed on an internal site, does exactly what we need so far. Thanks for the patch!
If there aren't more work that need to be done, let's RTBC it and get it commited, or start a new issue for any related work.
Comment #8
sheldon rampton commentedI've encountered a problem due to the fact that there is a separate media_oembed module project on Drupal.org, which I see was created by @Devin Carlson. I haven't reviewed the code of that module closely, but can see that it is closely related to the submodule that this patch defines for the oembed module.
The problem I encountered happened when I tried installing the latest release of the Drupal Commons distro, which includes both the oembed module and the media_oembed module in its codebase. This means that Drupal Commons contains two separate modules with the identical name media_oembed, which was causing my website to throw errors. Note: The Drupal Commons distro uses commit 9aa5303e889f170ddfac7ca6c9ba26299820ad1c of the oembed module, in which the media_oembed submodule still lives within a "deprecated" subdirectory. I therefore deleted the "deprecated" version module from oembed, and my site appears to be running normally now. However, it is still not clear to me which version of media_oembed I ought to be using -- the separate version or the version that Devin has added here. Development of that module ought to be happening in one place rather than in two separate projects to avoid this kind of confusion.
Comment #9
Anonymous (not verified) commented+1 I too running a Drupal Commons site that I also had this patch applied on, the way I have done it is to delete the standalone media_oembed module, and use the media_oembed module that comes with the oembed module… so I have in the profiles/common/moduels/contrib directory:
That’s with the patch applied, if that makes sense?
Without the patch, you have oembed/deprecated/media_oembed and media_oembed in the common/moduels/contrib directory, with deprecated/media_oembed set to hidden.
But yes I think we should stick with one media_oembed module. I am for using the bundled media_oembed module under oembed project as that allows me to have the oembed filter only without media integration, and for sites that I need media integration, I can just turn on the bundled media_oembed module.
Comment #10
Anonymous (not verified) commentedDevin,
I did not realize there was another Media: oEmbed module. It would be really great if you could sort this out soon. This work is ready to commit (but please check #2239345 first) but I am not sure what to do about the fact that there's another module that is named the same as a module you want to re-create in this project.
Comment #11
mohrizmus commentedTq, your idea work for me too.
Comment #12
crag2012 commentedI too have this problem and in reading this thread, it is not clear to what module this patch is applied.
Clarity for beginners and others new to operating and constructing Drupal sites is needed.
In this case can we say this patch is applied to module oEmbed or module Media_oEmbed.
I am using module Patch to carry this out as it seems the safest way to carry this out and to revert if required.
Finally Thank you Folks for putting time and effort into this CMS it is appreciated
Comment #13
darvanenCan we change the name of the sub-module? It's conflicting with the existing media_oembed module. I think the sub-module should have a prefix indicating it's part of this oembed module.
Comment #14
socialnicheguru commentedI am running into this issue and could not figure out why I needed oembedcore when using media_oembed module (http://drupal.org/project/media_oembed).
Comment #15
joseph.olstaddid anyone by chance make a patch for this? if so, please provide.
Comment #16
joseph.olstadYa this is confusing for people.
if you have this problem, follow the workarounds mentioned above.
Comment #17
astonvictor commentedD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.