Bundled Flash

Adam Williamson awilliam at redhat.com
Fri Aug 23 23:27:02 UTC 2013


On Fri, 2013-08-23 at 01:53 -0700, Adam Williamson wrote:
> On Thu, 2013-08-22 at 22:05 -0700, Adam Williamson wrote:
> > On Thu, 2013-08-22 at 21:47 -0700, Adam Williamson wrote:
> > 
> > > As plupload is a .sh not a .as3 I *think* we may be able to build it
> > > with swfc. I'll see whether that's possible.
> > 
> > plupload looks like, well, a giant pain in the ass. It depends on a bit
> > called moxie which is just kinda smooshed into the .swf shipped with
> > wordpress. If someone else wants to work on building that mess, go for
> > it, but for now, I'm going to work on ripping out the Flash and
> > Silverlight parts from plupload, and ripping out swfupload entirely.
> 
> I've done a super-dumb test scratch build of wordpress at
> http://koji.fedoraproject.org/koji/taskinfo?taskID=5844538 which more or
> less just rips swfupload out entirely, and rips out the other binary
> blobs with no adjustments, hoping the plugins that use them will fall
> back or error out intelligently. Help testing this is welcome. Trying to
> rip the bits out any more delicately looks to be a royal PITA. Bloody
> minified javascript.

OK, I've now tested and improved the Wordpress changes. swfupload is
still completely gone. tinymce is patched to smoothly remove the use of
moxieplayer, using the same patch I've used and tested in other
packages. plupload is patched to never try and use the Flash or
Silverlight uploaders, only the HTML5 and HTML4 ones (really, it's not a
'patch' so much as the removal of the .js files for the Flash and
Silverlight uploaders). mediaelement is patched to never try and use the
Flash or Silverlight players; it will embed an HTML5 player if possible,
and offer a download link for the media if not.

I've tested all these changes against Firefox 23, IE 10, and IE 10 in
its IE 7 emulation mode, and they seem to work correctly. I'm sending a
Wordpress 3.6 build with all the changes out for testing.
-- 
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