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
On 23 Jan, 09:48, Johann 'Myrkraverk' Oskarsson
> 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
> 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
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 <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 <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 <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