• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to load Flash Player.plugin?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to load Flash Player.plugin?


  • Subject: Re: How to load Flash Player.plugin?
  • From: John Stiles <email@hidden>
  • Date: Fri, 28 Sep 2007 07:49:56 -0700

This has been covered to death on Carbon-Dev if you wish to pursue it.
I believe your best course of action would be to emulate the techniques used in WebKit or Firefox; these are open source apps so you can look through the code freely. This has been tried by a few people with mostly positive results, but to the best of my knowledge there is no simple sample code which demonstrates the technique, unfortunately.
An easier approach is to embed a WebView into your app and then just display the Flash via a simple local web page. This works pretty well but can sometimes show minor imperfections.



On Sep 28, 2007, at 6:12 AM, Alexander Bokovikov wrote:

Hi, All,

I'm pretty new in Cocoa, and my first interest is to develop a small
(I hope!) app, which could communicate with the existing Flash Player plugin.
I'd like to implement such functions as load SWF file, call some existing
(and well-documented by Adobe) commands like movie Play/Pause, get some
information back to my app (like current frame number), etc.


As far as I understand I need to create an application, loading this plugin
and connecting it with some NSView subclass within my app window. I've got
some books about plugins, and already have got some basic understanding
about plugins technology in Mac OS X. But I have some general questions,
which prevent me from going ahead. I hope there is anybody out there, who
already did the same job, so my questions could be answered with ease.


1. Is Flash Player plugin a CFPlugin or NSPlugin? How to detect it?

2. If it is CFPlugin, then where could I get its classes and factories
UUIDs?

3. Can CFPlugin be connected somehow with NSView subclass?
How to do it? If it can't then is it possible to create a Cocoa app,
working with Flash Player.plugin?

4. For the NSPlugin I also don't see a good and clear example of how to
connect the plugin with NSView. All samples in books deal with simple
non-visual plugins. Or have I missed anything?


Appreciate it, if anybody can help. I'd promise to publish my result with
full source code (because I can't find such code sample upto now), but I
definitely need some basic support in theory understanding.


Thanks in advance!

-Alex

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: How to load Flash Player.plugin?
      • From: Brad Peterson <email@hidden>
References: 
 >How to load Flash Player.plugin? (From: "Alexander Bokovikov" <email@hidden>)

  • Prev by Date: Re: very different execution time
  • Next by Date: Re: name that method!
  • Previous by thread: How to load Flash Player.plugin?
  • Next by thread: Re: How to load Flash Player.plugin?
  • Index(es):
    • Date
    • Thread