Discussion:
standalone npapi based flashplayer for windows ?
Roberto Saccon
2004-07-21 11:21:44 UTC
Permalink
Hi all

I am using an embedded version of the Mozilla browser inside an
application. Because I actually need only the flash plugin, I want to
strip down the browser for having left only the npapi implementation.
Does there exist a project where this has been done ? Does there exist
somewhere a minimal mozilla version, which only allows to embed plugins ?

regards
Roberto
Roberto Saccon
2004-07-22 02:08:10 UTC
Permalink
ok, I tried to write a standalone plugin tester for the flash player,
but I got stuck with linking problems:

All functions which are implemented in the flashplayer (NPSWF32.dll) but
invoked form my tester application like NPP_New(), NPP_Initialize()
cause linking errors:

FlashPlayer.obj : error LNK2019: unresolved external symbol _NPP_New
referenced in function "public: __thiscall
FlashPlayer::FlashPlayer(class wxWindow *,int)"
(??0FlashPlayer@@***@PAVwxWindow@@***@Z)
...
...

Anybody has a clue what could be the porblem ? Usually I have a lib file
or Module definition file together with the dll, or I load the Library
wiht LoadLibrary by myself, but with mozilla plugin I don't know (yet)
how the plugin-container-application gets linked with the
implementations which are inside the pluigns.

regards
Roberto
Post by Roberto Saccon
Hi all
I am using an embedded version of the Mozilla browser inside an
application. Because I actually need only the flash plugin, I want to
strip down the browser for having left only the npapi implementation.
Does there exist a project where this has been done ? Does there exist
somewhere a minimal mozilla version, which only allows to embed plugins ?
regards
Roberto
Roberto Saccon
2004-07-22 03:11:27 UTC
Permalink
It looks like I am talking to myself, anyways, I took a look at the
npupp.h, where all the prototypes are defined, but I still don't
understand, why my stuff does not get linked.
Roberto Saccon
2004-07-23 18:15:05 UTC
Permalink
Finally the beast is compiling and linking, and running but it does not
play SWF movies, I only can step forward and backwards in a movie with
the flash context menu. Anybody expereinced on NPAPI-embedding directly
the flashplayer can tell me what is gouing wrong ??

regards
Roberto

Loading...