On May 18, 4:56 pm, Arcana <[EMAIL PROTECTED]> wrote: > I'm embedding Mozilla in to my own app using XULRunner. It works > nicely... except the Flash. Flash doesn't draw properly in all > circumstances and doesn't get mouse events. I'd rather just disable > it if possible. Could anyone point me in the right direction?
wow. you'd think it'd be easy, wouldn't you? (in the old days, iirc it was, but it sure doesn't seem so easy today) oddly, it's easier for acrobat, quicktime, java, and wmp couple of choices: a. iirc there's still a configure flag (not recommended) b. there's a contract or two relating to the plugin-host/manager, you could replace (or remove/unregister) them (really not recommended) c. plugins are found by looping over a directory provider key for plugins, you could replace it (i'd probably work here) Note that properly replacing this probably involves removing the current key values and optionally replacing it w/ your own provider. If you do, you'll probably want to implement nsILocalFile and have it be selective about what it returns when one uses enumerate or whatever. a couple of questions: 0. i don't suppose you could indicate which platform(s) are affected and whether the same occurs if you take the same sources and use them to build firefox/seamonkey 1. do you care about other plugins (acrobat, director, java, quicktime, wmp)? 2. have you tried to find out why, file a bug, or contact adobe about this? (perhaps they can help) _______________________________________________ dev-embedding mailing list [email protected] https://lists.mozilla.org/listinfo/dev-embedding
