Bundled Flash

Adam Williamson awilliam at redhat.com
Fri Aug 23 11:11:22 UTC 2013


On Fri, 2013-08-23 at 04:03 -0700, Adam Williamson wrote:

> Just nuking moxieplayer.swf doesn't stop tinymce generating HTML that
> looks for it, so that's not really the way to go. But I think I found a
> way to patch the plugin not to try and use moxieplayer.swf and just to
> spit out nice clean HTML instead. I also bumped tinymce to the latest
> upstream release, since it hadn't been bumped since 2011 and was
> *ancient*. Testing of this is very welcome. I've sent the build to
> Rawhide and F20 for now.

> Random note: patching minifed javascript is a giant fucking PITA, and we
> can't edit the 'source' javascript for tinymce and re-minify it because
> Fedora doesn't have yuicompressor -
> https://bugzilla.redhat.com/show_bug.cgi?id=745515 . Sigh.

Oh - since the patch is to the minified .js it's probably borderline
unreadable. This is what the patch basically is, against
editor_plugin_src.js in
tinymce/jscripts/tiny_mce/plugins/media/editor_plugin_src.js , line 341:

-flashPlayer = editor.getParam('flash_video_player_url', self.convertUrl(self.url + '/moxieplayer.swf'));
+flashPlayer = false;

just that seems to do the trick.
-- 
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | identi.ca: adamwfedora
http://www.happyassassin.net



More information about the devel mailing list