Closed (fixed)
Project:
Wysiwyg Media Embed
Version:
7.x-1.0
Component:
Plugin Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 Dec 2013 at 18:56 UTC
Updated:
19 Sep 2017 at 15:08 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
marcoka commentedyou additionally need to load the iframe plugin
http://ckeditor.com/addon/iframedialog
install instructions are a bit ...incomplete
Comment #2
Overflowed commentedI've done the following:
Now I've enabled both "iframe" and "media embed" plugins in Configuration -> Media -> WYSIWYG Profiles -> Buttons and Plugins ... and ... still the same, "blank" textarea in rich text mode, and normal textarea in normal text mode ...
:?
Any idea of what I'm doing wrong?
EDIT: If I disable "Media embed" button&plugin, ckeditor works in rich text mode and I can see an "Iframe" button that allows to insert iframes...
Comment #3
emilkarl commentedGetting the same problem. A white textera and the error:
Uncaught TypeError: Cannot read property 'onLoad' of null ckeditor.js?n07f07:24I've enabled iframe and mediaembed under Wysiwyg -> Buttons & Plugins. Any ideas?
Comment #4
Overflowed commentedemilkarl: I temporary moved to use the module "video_filter" until somebody can point us to the fix for this problem (I tell you in case it helps).
Comment #5
stenehall commentedI've solved this doing the following:
In the file wysiwyg_mediaembed.module
Change line 10 from " 'MediaEmbed' => array(" to "'mediaembed' => array("
Notice the uppercase/lowercase change. I haven't investigated this futher but I noticed that the plugin wasn't loaded correctly. My guess would be that different filesystems tread uppercase/lowercase differently.
I did not have to enable the iframe plugin.
Comment #6
socialnicheguru commented#5 worked for ckeditor/plugins/mediaembed/plugin.js
Comment #7
Overflowed commentedWorked like a charm. Thanks!
Maybe it should be corrected also in the tar.gz version of the module (the one offered in drupal.org for download)...
Comment #8
acrosman#5 also worked for me. I've make a quick patch, which should work against D7 or D6, but I only tested it on the D7 branch.
Comment #9
brightboldComment #10
haunted commentedEdit.
#5 works for me too, i needed to apply also the patch here https://www.drupal.org/node/2363013 and follow the instructions in the new README.txt
Comment #11
chris_getdepth commented#5 does not work for me either - i get the same empty text area space and the errors:
before #5
uncaught exception: [CKEDITOR.resourceManager.load] Resource name "MediaEmbed" was not found at..
after #5
uncaught exception: [CKEDITOR.resourceManager.load] Resource name "mediaembed" was not found at..
Wysiwyg 7.x-2.2+54-dev (as the production one stopped working with ckeditor)
Wysiwyg Media Embed 7.x-1.0
CKEditor 4.4.4.1ba5105
Comment #12
jazzitup commented@chris_getdepth: It doesn't work for you because you didn't go through README.txt:
Comment #13
haunted commented@jazzitup: Hi, the url at point 2) is still the old one, it has to be replaced with http://ckeditor.com/addon/mediaembed , as explained here https://www.drupal.org/node/2363013 .
Comment #15
hongpong commentedThank you, I have committed your patch combined with another fix. It is in 7.x-dev now. Please re-open this thread if not effective. I will bump the module version if I get a confirmation or 2 things worked.
Comment #18
jgibso commentedStill not working when using the dev version.
Comment #19
ggiakoumidakis commentedSame problem here, icon not showing. Any ideas?
Comment #20
hongpong commentedPlease see also #1670310: Ckeditor disappears from text areas. Tagging a new release 7.x-1.1 with the bug fix there.