you’re llike a mind reader or somethin man, i was about to post an idea for a browser-embed plugin in juce, and baam here it is.
i was making a progress-bar aware FLASH uploader, but i don’t know flash and someone else had to do it for me, but now i will make it myself, test it and let you know how things work out.
thank you very much for this. oh mystical one.
–edit
got the sdk from here http://ftp.mozilla.org/pub/mozilla.org/mozilla/nightly/latest/gecko-sdk-i586-pc-msvc.zip
loaded the project, set the paths got an error
1>------ Build started: Project: JuceBrowserPluginDemo, Configuration: Debug Win32 ------
1>Compiling...
1>juce_NPAPI_GlueCode.cpp
1>c:\devel\juce\extras\browser plugins\wrapper\juce_npapi_gluecode.cpp(769) : error C2065: 'NP_CLASS_STRUCT_VERSION_ENUM' : undeclared identifier
1>c:\devel\juce\extras\browser plugins\wrapper\juce_npapi_gluecode.cpp(775) : error C2078: too many initializers
1>c:\devel\juce\extras\browser plugins\wrapper\juce_npapi_gluecode.cpp(807) : error C2440: '<function-style-cast>' : cannot convert from 'const uint32_t' to 'juce::var'
1> No constructor could take the source type, or constructor overload resolution was ambiguous
1>JuceBrowserPluginDemo.cpp
1>juce_LibrarySource.cpp
1>Generating Code...
1>Build log was saved at "file://c:\devel\juce\extras\browser plugins\demo\build\npapi_win\Debug\BuildLog.htm"
1>JuceBrowserPluginDemo - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
looks like some definition errors, perhaps i should use some specific SDK version ?
— edit2
also i was wondering, right now you build a component and that component is turned into a plugin, what do you thing about writing one single plugin, like Adobe Flash Player (and make that into a simple installer) that would launch binary components, just like adobe movie player laaunches SWF files, it would be a simple host/plugin situation, but the host would be the browser plugin, this would make things easier for users out there, and would make this more available:
multiple components one installer kind of situation
i was thinking about that really, but this is also amazing.