OLD | NEW |
1 ### Background reading materials | 1 # Linux Plugins |
2 #### Plugins in general | |
3 * [Gecko Plugin API reference](https://developer.mozilla.org/en/Gecko_Plugin_A
PI_Reference) -- most important to read | |
4 * [Mozilla plugins site](http://www.mozilla.org/projects/plugins/) | |
5 * [XEmbed extension](https://developer.mozilla.org/en/XEmbed_Extension_for_Moz
illa_Plugins) -- newer X11-specific plugin API | |
6 * [NPAPI plugin guide](http://gplflash.sourceforge.net/gplflash2_blog/npapi.ht
ml) from GPLFlash project | |
7 | 2 |
8 #### Chromium-specific | 3 ## Background reading materials |
9 * [Chromium's plugin architecture](http://dev.chromium.org/developers/design-d
ocuments/plugin-architecture) -- may be out of date but will be worth reading | |
10 | 4 |
11 ### Code to reference | 5 ### Plugins in general |
12 * [Mozilla plugin code](http://mxr.mozilla.org/firefox/source/modules/plugin/b
ase/src/) -- useful reference | |
13 * [nspluginwrapper](http://gwenole.beauchesne.info//en/projects/nspluginwrappe
r) -- does out-of-process plugins itself | |
14 | 6 |
15 ### Terminology | 7 * [Gecko Plugin API reference](https://developer.mozilla.org/en/Gecko_Plugin_A
PI_Reference) |
16 * _Internal plugin_: "a plugin that's implemented in the chrome dll, i.e. ther
e's no external dll that services that mime type. For Linux you'll just have to
worry about the default plugin, which is what shows a puzzle icon for content t
hat you don't have a plugin for. We use that to allow the user to download and
install the missing plugin." | 8 -- most important to read |
| 9 * [Mozilla plugins site](http://www.mozilla.org/projects/plugins/) |
| 10 * [XEmbed extension](https://developer.mozilla.org/en/XEmbed_Extension_for_Moz
illa_Plugins) |
| 11 -- newer X11-specific plugin API |
| 12 * [NPAPI plugin guide](http://gplflash.sourceforge.net/gplflash2_blog/npapi.ht
ml) |
| 13 from GPLFlash project |
17 | 14 |
18 ### Flash | 15 ### Chromium-specific |
19 * [Adobe Flash player dev center](http://www.adobe.com/devnet/flashplayer/) | |
20 * [penguin.swf](http://blogs.adobe.com/penguin.swf/) -- blog about Flash on Li
nux | |
21 * [tips and tricks](http://macromedia.mplug.org/) -- user-created page, with s
ome documentation of special flags in `/etc/adobe/mms.cfg` | |
22 * [official Adobe bug tracker](https://bugs.adobe.com/flashplayer/) | |
23 | 16 |
24 ### Useful Tools | 17 * [Chromium's plugin architecture](http://dev.chromium.org/developers/design-d
ocuments/plugin-architecture) |
25 * `xwininfo -tree` -- lets you inspect the window hierarchy of a window and ge
t the layout of child windows. | 18 -- may be out of date but will be worth reading |
26 * "[DiamondX](http://multimedia.cx/diamondx/) is a simple NPAPI plugin built t
o run on Unix platforms and exercise the XEmbed browser extension." | 19 |
27 * To build a 32-bit binary: `./configure CFLAGS='-m32' LDFLAGS='-L/usr/lib32
-m32'` | 20 ## Code to reference |
| 21 |
| 22 * [Mozilla plugin code](http://mxr.mozilla.org/firefox/source/modules/plugin/b
ase/src/) |
| 23 -- useful reference |
| 24 * [nspluginwrapper](http://gwenole.beauchesne.info//en/projects/nspluginwrappe
r) |
| 25 -- does out-of-process plugins itself |
| 26 |
| 27 ## Terminology |
| 28 |
| 29 * _Internal plugin_: "a plugin that's implemented in the chrome dll, i.e. |
| 30 there's no external dll that services that mime type. For Linux you'll just |
| 31 have to worry about the default plugin, which is what shows a puzzle icon |
| 32 for content that you don't have a plugin for. We use that to allow the user |
| 33 to download and install the missing plugin." |
| 34 |
| 35 ## Flash |
| 36 |
| 37 * [Adobe Flash player dev center](http://www.adobe.com/devnet/flashplayer/) |
| 38 * [penguin.swf](http://blogs.adobe.com/penguin.swf/) -- blog about Flash on |
| 39 Linux |
| 40 * [tips and tricks](http://macromedia.mplug.org/) -- user-created page, with |
| 41 some documentation of special flags in `/etc/adobe/mms.cfg` |
| 42 * [official Adobe bug tracker](https://bugs.adobe.com/flashplayer/) |
| 43 |
| 44 ## Useful Tools |
| 45 |
| 46 * `xwininfo -tree` -- lets you inspect the window hierarchy of a window and |
| 47 get the layout of child windows. |
| 48 * "[DiamondX](http://multimedia.cx/diamondx/) is a simple NPAPI plugin built |
| 49 to run on Unix platforms and exercise the XEmbed browser extension." |
| 50 * To build a 32-bit binary: |
| 51 `./configure CFLAGS='-m32' LDFLAGS='-L/usr/lib32 -m32'` |
OLD | NEW |