Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Flash player plugin for safari embedded in SWT
Flash player plugin for safari embedded in SWT [message #476970] Thu, 06 August 2009 03:11 Go to next message
Eclipse UserFriend
Originally posted by: yochrislam.gmail.com

Hello everyone,

we are developing a eclipse SWT app with a browser widget for mac.
we found that the embedded browser cannot access any flash content as if
Flash Player is not installed.

As I know SWT use safari as the rendering engine on mac and I tried to
open site with flash content with a standalone safari and it works fine.
So I am sure I have flash player for safari installed.

My environment is
Mac OS X (10.5.7)
Safari 4.0.1
Flash Player 10
JVM 1.6
Eclipse SWT 3.5 cocoa x86_64

Does anyone has a hint?

Any input is appreciated. Thank you.
Re: Flash player plugin for safari embedded in SWT [message #481841 is a reply to message #476970] Mon, 24 August 2009 14:02 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Hi Chris, sorry for the late reply,

I've just tried this, and it looks like this fails on OSX when using 64-bit
but works for 32-bit. So a workaround you can use, assuming that you don't
require Java 6, is to use eclipse's 32-bit cocoa release instead.

I haven't looked into why this difference happens yet, but my guess is that
the Flash player cannot run as a 64-bit plug-in. It may work in stand-alone
Safari if Safari is not actually launching as a 64-bit app, but when 64-bit
eclipse embeds Safari it has to be running in 64-bit mode to match. I've
logged https://bugs.eclipse.org/bugs/show_bug.cgi?id=287440 as a reminder to
investigate this.

Grant


"Chris Lam" <yochrislam@gmail.com> wrote in message
news:3ab3c68e6442221bddae96ac733ca072$1@www.eclipse.org...
> Hello everyone,
>
> we are developing a eclipse SWT app with a browser widget for mac.
> we found that the embedded browser cannot access any flash content as if
> Flash Player is not installed.
>
> As I know SWT use safari as the rendering engine on mac and I tried to
> open site with flash content with a standalone safari and it works fine.
> So I am sure I have flash player for safari installed.
>
> My environment is
> Mac OS X (10.5.7)
> Safari 4.0.1
> Flash Player 10
> JVM 1.6
> Eclipse SWT 3.5 cocoa x86_64
>
> Does anyone has a hint?
>
> Any input is appreciated. Thank you.
>
Re: Flash player plugin for safari embedded in SWT [message #481901 is a reply to message #481841] Mon, 24 August 2009 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: yochrislam.gmail.com

thanks Grant.

seems we have no luck as we require JVM6 for our project.

lets try to take a step back..
is it possible to run 32bit SWT on JVM6 for mac?
I tried before and I got a "cannot load 32-bit swt libraries on 64-bit
jvm" error
is there something I can work around for this?

cheers,
Chris Lam
Re: Flash player plugin for safari embedded in SWT [message #481924 is a reply to message #481901] Mon, 24 August 2009 17:49 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
Unfortunately you need to be running 64-bit in order to use Apple's 1.6 JVM,
so I don't think there's a workaround opportunity here. However according
to https://bugs.eclipse.org/bugs/show_bug.cgi?id=276564#c26 eclipse launches
with OpenJDK, so you could try this instead of Apple's JVM if you're feeling
adventurous (I'm assuming it's available in a 32-bit flavour, but have never
tried).

If I investigate and find anything more then I'll update the bug report, so
you should CC yourself to it. But at this point I don't think it's an swt
bug because the Browser has no role in the launching of plug-ins.

Grant


"Chris Lam" <yochrislam@gmail.com> wrote in message
news:def6319f008784d6886f59325e26bc82$1@www.eclipse.org...
> thanks Grant.
>
> seems we have no luck as we require JVM6 for our project.
>
> lets try to take a step back..
> is it possible to run 32bit SWT on JVM6 for mac?
> I tried before and I got a "cannot load 32-bit swt libraries on 64-bit
> jvm" error
> is there something I can work around for this?
>
> cheers,
> Chris Lam
>
Re: Flash player plugin for safari embedded in SWT [message #482128 is a reply to message #481924] Tue, 25 August 2009 13:03 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2151
Registered: July 2009
Senior Member
FYI: How timely: http://java.dzone.com/news/32-bit-java-6-mac-os-x-snow

"Grant Gayed" <grant_gayed@ca.ibm.com> wrote in message
news:h6ujrp$149$1@build.eclipse.org...
> Unfortunately you need to be running 64-bit in order to use Apple's 1.6
JVM,
> so I don't think there's a workaround opportunity here. However according
> to https://bugs.eclipse.org/bugs/show_bug.cgi?id=276564#c26 eclipse
launches
> with OpenJDK, so you could try this instead of Apple's JVM if you're
feeling
> adventurous (I'm assuming it's available in a 32-bit flavour, but have
never
> tried).
>
> If I investigate and find anything more then I'll update the bug report,
so
> you should CC yourself to it. But at this point I don't think it's an swt
> bug because the Browser has no role in the launching of plug-ins.
>
> Grant
>
>
> "Chris Lam" <yochrislam@gmail.com> wrote in message
> news:def6319f008784d6886f59325e26bc82$1@www.eclipse.org...
> > thanks Grant.
> >
> > seems we have no luck as we require JVM6 for our project.
> >
> > lets try to take a step back..
> > is it possible to run 32bit SWT on JVM6 for mac?
> > I tried before and I got a "cannot load 32-bit swt libraries on 64-bit
> > jvm" error
> > is there something I can work around for this?
> >
> > cheers,
> > Chris Lam
> >
>
>
Previous Topic:libswt-motif-3452.so : Bad Magic Number
Next Topic:CDateTime invalid time entry
Goto Forum:
  


Current Time: Thu Nov 23 16:30:28 GMT 2017

Powered by FUDForum. Page generated in 0.02725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software