Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Flash 10 + Opera = Yes

17 views
Skip to first unread message

Johann 'Myrkraverk' Oskarsson

unread,
Jan 23, 2010, 4:48:02 AM1/23/10
to
Hi all,

I've just made a wrapper plugin that lies to Flash 10, so that it
works in Opera.

It needs serious cleanup, but should work out of the box for everyone.

For a sparc compilation instructions, ask for now.

The terse instructions, for the x86 binary:

mkdir -p ~/.opera/plugins/magic
curl 'http://www.myrkraverk.com/magic/npMagic.so' -o ~/.opera/plugins/npMagic.so
cp /usr/lib/firefox/plugins/libflashplayer.so ~/.opera/plugins/magic

Make sure ~/.opera/plugins is in your plugin path.

Enjoy,

Johann

Spencer

unread,
Jan 24, 2010, 10:23:39 AM1/24/10
to
Thanks Johan, was about to post that :)

On 23 Jan, 09:48, Johann 'Myrkraverk' Oskarsson

Johann 'Myrkraverk' Oskarsson

unread,
Jan 24, 2010, 2:30:19 PM1/24/10
to
Spencer <schi...@gmail.com> writes:

> Thanks Johan, was about to post that :)

Nice that someone noticed. I should add that the code cleanup
mentioned below has been done.

Some more instructions can be found at:

http://www.myrkraverk.com/magic/

And the My Opera blog can be found here:

http://my.opera.com/myrkraverk/blog/2010/01/24/flash-10-on-solaris-the-netscape-magic-plugin


Johann

Eirik Byrkjeflot Anonsen

unread,
Jan 25, 2010, 4:30:05 AM1/25/10
to
Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:

> Hi all,
>
> I've just made a wrapper plugin that lies to Flash 10, so that it
> works in Opera.

Just out of curiosity: What sort of lies are you telling?

eirik

Johann 'Myrkraverk' Oskarsson

unread,
Jan 25, 2010, 10:21:03 AM1/25/10
to

At some point Flash askes the browser what toolkit it's using. The NP
API from Mozilla gives two possible answers: Gtk 1.2 and Gtk 2.
Obviously Opera has neither and answers in all honesty: nothing.

Flash at this point barfs and dies, even though it has already been
linked with all relevant Gtk 2 libraries.

I just lie and say "Gtk 2."


Johann

Eirik Byrkjeflot Anonsen

unread,
Jan 25, 2010, 11:18:09 AM1/25/10
to
Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:

> Eirik Byrkjeflot Anonsen <ei...@opera.com> writes:
>
>> Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:
>>
>>> Hi all,
>>>
>>> I've just made a wrapper plugin that lies to Flash 10, so that it
>>> works in Opera.
>>
>> Just out of curiosity: What sort of lies are you telling?
>
> At some point Flash askes the browser what toolkit it's using. The NP
> API from Mozilla gives two possible answers: Gtk 1.2 and Gtk 2.
> Obviously Opera has neither and answers in all honesty: nothing.

Actually, I thought Patricia had made the plugin wrapper use gtk. I
know she planned to do it, since we realized that plug-in authors were
depending on running under firefox once they finally realized that
netscape 4 was dead.

> Flash at this point barfs and dies, even though it has already been
> linked with all relevant Gtk 2 libraries.
>
> I just lie and say "Gtk 2."

I see. So either the plug-in wrapper is gtk and we've just forgotten to
say so. Or flash asks for something it doesn't actually use. Ouch,
either way.

eirik

Johann 'Myrkraverk' Oskarsson

unread,
Jan 25, 2010, 11:29:17 AM1/25/10
to
Eirik Byrkjeflot Anonsen <ei...@opera.com> writes:

> Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:
>
>> Eirik Byrkjeflot Anonsen <ei...@opera.com> writes:
>>
>>> Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:
>>>
>>>> Hi all,
>>>>
>>>> I've just made a wrapper plugin that lies to Flash 10, so that it
>>>> works in Opera.
>>>
>>> Just out of curiosity: What sort of lies are you telling?
>>
>> At some point Flash askes the browser what toolkit it's using. The
>> NP API from Mozilla gives two possible answers: Gtk 1.2 and Gtk 2.
>> Obviously Opera has neither and answers in all honesty: nothing.
>
> Actually, I thought Patricia had made the plugin wrapper use gtk. I
> know she planned to do it, since we realized that plug-in authors
> were depending on running under firefox once they finally realized
> that netscape 4 was dead.

What? We have Netscape 4 now?

http://imagepaste.nullnetwork.net/viewimage.php?id=514

>> Flash at this point barfs and dies, even though it has already been
>> linked with all relevant Gtk 2 libraries.
>>
>> I just lie and say "Gtk 2."
>
> I see. So either the plug-in wrapper is gtk and we've just
> forgotten to say so. Or flash asks for something it doesn't
> actually use. Ouch, either way.

Yes, ouch. If you want to take a look at my code to see what I did, I
hereby claim Opera shall not be tainted. *smile*

http://www.myrkraverk.com/magic/npMagic.c++


Have fun,

Johann

Eirik Byrkjeflot Anonsen

unread,
Jan 26, 2010, 3:38:04 AM1/26/10
to
Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:

> Eirik Byrkjeflot Anonsen <ei...@opera.com> writes:
>
>> Johann 'Myrkraverk' Oskarsson <joh...@myrkraverk.com> writes:
>>

[...]


>> Actually, I thought Patricia had made the plugin wrapper use gtk. I
>> know she planned to do it, since we realized that plug-in authors
>> were depending on running under firefox once they finally realized
>> that netscape 4 was dead.
>
> What? We have Netscape 4 now?
>
> http://imagepaste.nullnetwork.net/viewimage.php?id=514

:)

>>> Flash at this point barfs and dies, even though it has already been
>>> linked with all relevant Gtk 2 libraries.
>>>
>>> I just lie and say "Gtk 2."
>>
>> I see. So either the plug-in wrapper is gtk and we've just
>> forgotten to say so. Or flash asks for something it doesn't
>> actually use. Ouch, either way.
>
> Yes, ouch. If you want to take a look at my code to see what I did, I
> hereby claim Opera shall not be tainted. *smile*
>
> http://www.myrkraverk.com/magic/npMagic.c++

I'll leave that to the people actually working on it. Thanks for
testing that it works though. Maybe that will give someone sufficient
incentive to fix it (or at least to "fix" it...).

eirik

0 new messages