[vlc-devel] VLC Plugin for Mac OS X (Lion & upwards): some progress, but further help requested
Jean-Baptiste Kempf
jb at videolan.org
Sat May 12 03:49:38 CEST 2012
On Fri, May 11, 2012 at 04:44:00PM +0200, James Bates wrote :
> Considering all the above, the most compatible architecture for a modern mac would seem to be either a "CoreGraphics" or a "CoreAnimation" 32-bit plugin, since basically all modern browsers out there will load that.
We agree on that.
> Now the main issue with this (as with the original plugin), is that the video appears in its own window, outside the browser. As far as I can tell from the code, this has always been the case of the Mac version of the VLC Plugin.
I think it used to work, but whatever...
> This is where I need help: basically, I want to use the exisiting OpenGL display machinery already present in vlc, and get that into the embedded browser view. Googling through the Internet, it seems pretty clear that this is totally impossible with the CoreGraphics drawing model, and the CoreAnimation drawing model is needed. In particular there is a CAOpenGLLayer provided by CoreAnimation which seems to be indicated for the job.
>
> - in Safari and in Google Chrome, video actually appears inside the plugin area (yay!!) but it isn't very stable: it shows quite haltingly, and as soon as you do anything with the browser window (click, drag, focus), the video stops.
> - In Firefox the video doesn't show at all
> - In Opera, the plugin doesn't even load (dunno why yet)
Ok.
> Any other strategy for getting the video playback into the plugin area would obviously also be welcome!
Magic?
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list