Page tree
Skip to end of metadata
Go to start of metadata

A picture is worth a thousand words

Sometimes it is much easier to learn by watching and listening to an explanation, so Richard Bateman (the project manager) has put together a short video tutorial to help get you started.

This tutorial was created on Mac; most of the concepts are going to be the same, except for install and the compiler used.

Creating the project

Building and installing the plugin

Looking at the project files

Adding a JSAPI Method

Adding a JSAPI Property

Also covers accessing the plugin object from your JSAPI object, using PARAM tags, and customizing generated files.

  • No labels


  1. Wow, good idea and nice work on those (smile)

  2. Great tutorial Richard! :)

    PS: Btw, could you do a tutorial on your Vim configuration? :D It's awesome! :D What are the plugin names?

    1. Heh. Yeah, I like my vim configuration.  The main one you're seeing is NERDTree explorer, which is the file manager on the left.  Really, though, the best way to look at it would be to check out the my configuration itself -- which you can find on github.

  3. Unknown User (igor)

    The videos on this page are not working in Safari 5 with the Shockwave flash 10.3 r181 plugin installed. 

  4. Unknown User (eyalfishler)

    It would be great if there were a video about using Cocoa with FB

    1. You're welcome to create one =] One thing to note is that what most people think of when they think of Cocoa is an NSView, etc al. You can't use those in FireBreath because there simply isn't any way to connect an NSView up to the browser. You can render the NSView to a CGContext, but then you have to proxy all the events, etc. There is an example of that in the codebase, src/libs/WebView

      What you can do is use a .mm file with a C++ class that makes objective c calls.  .mm files can contain c++ code, so as long as the .h file only exports c++ stuff and can be included from other files it works fine. Again, there are examples of this in the FireBreath codebase, just search for .mm files.

  5. Unknown User (thomasdfowler)

    Sorry to be a bother, but the last screencast goes through some steps where 'm_supportedParamSet' is used in the constructor for the 'ScreenCastTutorialPlugin'. From my understanding the 'm_supportedParamSet' property is no more and should not be used. Is that accurate? It's a bit confusing when trying to go through the tutorial, as I'm using version 1.6.0.



    1. You are correct; m_supportedParamSet was removed a few versions ago. This tutorial is somewhat older, but I haven't had time to redo it. Most of the information is still correct, there are just a few minor details that have changed.

      1. Unknown User (thomasdfowler)

        Sounds good! Thanks for all your hard work on this!




  6. Unknown User (thomasdfowler)

    Sounds good! Thanks for all your hard work on this!