It would be great if this could insert some sort of macro rather than the object tag. That way it could provide flash support to ckeditor when using the wysiwyg_filter module (which blacklists the object and embed tag)
It would be great if this could insert some sort of macro rather than the object tag. That way it could provide flash support to ckeditor when using the wysiwyg_filter module (which blacklists the object and embed tag)
Comments
Comment #1
anrikun commentedHave you tried to use SWFObject in Input formats - CKEditor SWF Filter settings?
Comment #2
miiimoooI've enabled it but the flash button still creates an object tag unless I'm missing something here.
Comment #3
anrikun commentedTry to clear your Drupal and browser caches.
Also, make sure you have followed all the instructions on Input formats - CKEditor SWF Filter settings page.
Comment #4
miiimoooThanks for your quick replies! I'm not sure about the settings of the input filter. At the moment I have "Use SWFObject" ticked, and "sites/all/libraries/swfobject/swfobject.js" for SWFObject path (though that file doesn't exist).
Using the SWF button in CKEditor (via WYSIWYG) I still get this code inserted (and stripped out by the wysiwyg_filter):
Comment #5
anrikun commentedSo don't you think you should put it there first? ;-)
Download SWFObject from http://swfobject.googlecode.com/files/swfobject_2_2.zip
And unpack it to your sites/all/libraries directory.
Comment #6
miiimoooHave done that but it doesn't make any difference apart from that pasting the youtube URL into the URL field doesn't bring up the dimensions or the preview any longer..
Comment #7
anrikun commentedIf possible please post credentials to access your site using my contact form. I'll have a look at your config then.