LO as an NPAPI browser plugin host?

Michael Stahl mstahl at redhat.com
Tue Nov 20 07:15:41 PST 2012


On 20/11/12 16:03, Caolán McNamara wrote:
> On Fri, 2012-11-16 at 16:08 +0100, Stephan Bergmann wrote:
>> ** Trying the same with LO Writer's "Insert - Object - Plug-in..." fails 
>> (just specifying the .ogg/.flv file pathname, leaving "Options" blank). 
>>   The SAL_INFO output indicates that libtotem-clone-plugin.so is loaded, 
>> but calling its NP_Initialize returns 3 (NPERR_INVALID_FUNCTABLE_ERROR) 
>> because the NPNetscapeFuncs struct created in 
>> extensions/source/plugin/unx/npnapi.cxx (based on an outdated definition 
>> of NPNetscapeFuncs in np_sdk/mozsrc/npupp.h) is too short (i.e., misses 
>> functions added by later NPAPI revisions and expected by the given 
>> libtotem-clone-plugin.so).
> 
> The last time I fixed these I hacked totem to use the old api. i.e.
> https://bugzilla.redhat.com/show_bug.cgi?id=475187

but who would want a totem plugin anyway when you can just use GStreamer
etc. avmedia backends?  imho the only NPAPI plugin that's still of any
use today is SWF/Flash.





More information about the LibreOffice mailing list