Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#122 v3.31 and Opera 9.02

closed-wont-fix
Kevin DeKorte
Plugin (92)
5
2014-08-25
2006-12-02
James Le Cuirot
No

I know using the plugin with Opera isn't recommended so I apologise for this. I have seen RPMs of 3.31 specifically for Opera and their source code doesn't seem to be any different so it should work but I'm not having any luck. I'm on Gentoo so the plugin was built from source and I've tried it against Firefox 1.5.0.7 and 2.0. I did try symlinking libxpcom.so as advised but it didn't help. The plugin works fine with Firefox. Here's what I get with Opera when using a simple test.

chewi@schwartz % OPERA_PLUGINWRAPPER_DEBUG=10 OPERA_KEEP_BLOCKED_PLUGIN=1 opera
libnpp: NPP_GetMIMEDescription (npp)
libnpp: NPP_GetValue: instance=(nil), var=1, val=0xbf803ee8
libnpp: NPP_GetValue: instance=(nil), var=2, val=0xbf803ee8
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
operapluginwrapper: Destructing pluginController
libnpp: Setting startup timeout=45
libnpp: Setting response timeout=20
libnpp: Setting search path=/home/chewi/.netscape/plugins:/home/chewi/.netscape6/plugins:/opt/opera/lib/opera/plugins:/usr/lib/nsbrowser/plugins/
libnpp: Setting socket watcher=0x8809650/0x8809430
libnpp: Setting timer func=0x8807320
libnpp: NP_Initialize
libnpp: NPP_New (npp, instance=0x99c54e4, pluginType=video/x-msvideo:/usr/lib/nsbrowser/plugins/mplayerplug-in-wmp.so)
libnpp: Setting env var before exec: 'LD_PRELOAD='
libnpp: execing operapluginwrapper (/opt/opera/lib/opera/plugins/operapluginwrapper)
operapluginwrapper: motif init
operapluginwrapper: sW: 0x80612d0, w(sW): 2600001
libnpp: new/args: id=vid
libnpp: new/args: src=vid.avi
libnpp: new/args: type=video/x-msvideo
libnpp: new/args: loop=true
operapluginwrapper: trying to open /usr/lib/nsbrowser/plugins/mplayerplug-in-wmp.so
operapluginwrapper: NPN_GetValue (268435466)
operapluginwrapper: NPN_GetValue with unknown variable: 268435466
operapluginwrapper: setting priority to 19
operapluginwrapper: New/args: id=vid
operapluginwrapper: New/args: src=vid.avi
operapluginwrapper: New/args: type=video/x-msvideo
operapluginwrapper: New/args: loop=true
operapluginwrapper: Calling NPP_New(mime=video/x-msvideo, inst=0x8061868, ...)
operapluginwrapper: NPN_GetValue (268435469)
operapluginwrapper: NPN_GetValue with unknown variable: 268435469
mimetype: video/x-msvideo
Embedded mode
Argument Name: id
Argument Value: vid
Argument Name: src
Argument Value: vid.avi
Argument Name: type
Argument Value: video/x-msvideo
Argument Name: loop
Argument Value: true
argv[i]=true
loop=0
libnpp: NPP_SetWindow(x=0, y=0, w=150, h=150)
operapluginwrapper: pluginInstance::setWindow
operapluginwrapper: motif create drawing area
operapluginwrapper: wA: 0x8073ac8, w(wA): 2600002
operapluginwrapper: iA: 0x8073bd8, w(iA): 2600003
New window! old: 0x0 new 0x39845891
Size: 0 0 0x2600003
Size: 150x150

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): GLib-GObject-CRITICAL **: g_object_new: assertion `G_TYPE_IS_OBJECT (object_type)' failed

(process:7894): GLib-GObject-CRITICAL **: gtype.c:2215: initialization assertion failed, use IA__g_type_init() prior to this function

(process:7894): Gdk-CRITICAL **: gdk_xid_table_lookup_for_display: assertion `GDK_IS_DISPLAY (display)' failed
operapluginwrapper: Segmentation fault!!!
messtrans: error in timeoutRead(fd=19, timeout=20): No such process
libnpp: quitPlugin()
libnpp: setwindow returned 0
libnpp: NPP_SetWindow(x=0, y=0, w=150, h=150)
libnpp: setwindow with 0 pluginWrapper
libnpp: NPP_NewStream(mime=video/x-msvideo, stream=0x99c8f00, stream.url=file://localhost/home/chewi/vid.avi
libnpp: NPP_NewStream with 0 pluginWrapper
libnpp: NPP_SetWindow(x=0, y=0, w=150, h=150)
libnpp: setwindow with 0 pluginWrapper
libnpp: quitPlugin()

Discussion

  • Kevin DeKorte
    Kevin DeKorte
    2006-12-02

    Logged In: YES
    user_id=685413
    Originator: NO

    Read this: http://gentoo-wiki.com/HOWTO_Make_mplayerplug-in_work_with_Opera

    I don't know if it actually works, but it looks like it should. You will lose a lot of functionality since mplayerplug-in does not have as much functionality in X mode as it does in GTK mode. GTK mode is not compatible with Opera.

     
  • Kevin DeKorte
    Kevin DeKorte
    2006-12-02

    • status: open --> closed-wont-fix