Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
Locked
0

Using Flash Player plugin through NPAPI on MacoS X

Explorer ,
Jan 14, 2008 Jan 14, 2008
Hi everybody,

(sorry for the crossposting)

as Quicktime drop its support for Flash playing, I have integrated the MacOS X
Safari's Flash Player plugin in my application through the NPAPI
( http://www.mozilla.org/projects/plugins/).

I manage to load any flash file. But, if the application is a Carbon App, the
frame are rendered at a low frame rate and if my application renders offscreen
without a message loop, only the first frame is rendered.

For the moment, I do not pass any event to the plugin; this is perhaps the
cause ?

Does anybody have an idea of how the plugin decide to render next frame ?

Thanks in advance.
605
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jan 14, 2008 Jan 14, 2008
LATEST
I finally found the solution.

Calling regularly the event function of the plugin make it updates the onscreen or offscreen GrafPort... even if the application does not have EventLoop.




Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines