Professional Web Applications Themes

Using Flash Player plugin through NPAPI on MacoS X - Macromedia Flash Player

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 ...

  1. #1

    Default Using Flash Player plugin through NPAPI on MacoS X

    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.

    r2d3_ Guest

  2. #2

    Default Re: Using Flash Player plugin through NPAPI on MacoS X

    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.





    r2d3_ Guest

  3. #3

    Default Re: Using Flash Player plugin through NPAPI on MacoS X

    On 14 Jan., 18:59, "r2d3_" <com> wrote: 

    Hi, r2d3.

    Alternatively, if your application allows for it, you could try to use
    windowed mode in which drawing is handeled autonomously by the flash
    player.

    Besides...
    How did you handle calls directed from the flash player plugin to your
    NP host (NPN_GetURLNotify)? I'm completely lost because streaming
    fails in NPP_Write (which returns -1) when attempting to stream the
    swf url to the plugin.

    Any ideas?
    gglgrper@gmail.com Guest

Similar Threads

  1. Flash Player 9 Won't Install on MacOS X (Intel)
    By docbehra in forum Macromedia Flash Player
    Replies: 4
    Last Post: May 14th, 06:01 PM
  2. flash player plugin
    By skybolt1@swbell.net in forum Macromedia Flash Player
    Replies: 0
    Last Post: March 12th, 03:18 PM
  3. Replies: 3
    Last Post: May 18th, 07:31 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139