Testing Code gecko-mediaplayer 0.9.9.1

12 views
Skip to first unread message

Kevin DeKorte

unread,
Feb 8, 2010, 4:55:14 PM2/8/10
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

All,

If you are having some issues with certain sites, can you please try the
attached gecko-mediaplayer source code.

I did a code audit today when trying to find the problem with
http://plugindoc.mozdev.org/testpages/wmp9.html and found that I was
using the wrong NPRES and NPERR codes in several places. So I fixed all
those codes and fixed the code for some sites after that. Required
moving a few things around.

Let me know how this works.

I am also curious about compilations with libxul 1.9.2. I have received
a few reports how it compiles one way but not another and the reports
are conflicting.

I was able to test this with xulrunner 1.9.1.6-2 and firefox 3.5.6 and
it all seemed fine. I compiled this code with xulrunner 1.9.1.6 and it
did not work on apple.com sites when used with firefox 3.6.2pre2.

I looked at the example plugin at mozilla.org

http://mxr.mozilla.org/mozilla1.9.2/source/modules/plugin/default/windows/plugin.cpp#220

And did the exact same thing they did to make the preference setting
work for the user agent. So if you compile this plugin and using it on
Firefox 3.6, please make sure you compile it against libxul 1.9.2.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktwiEIACgkQ6w2kMH0L1dEjlQCfeGDVFtDcCtQcfOGE4BY/uUw6
TvcAn3MDSfbCV9bdleedUxkmqYjYZ71b
=wSh+
-----END PGP SIGNATURE-----

gecko-mediaplayer-0.9.9.1.tar.gz

Onur Küçük

unread,
Feb 8, 2010, 5:37:21 PM2/8/10
to gecko-me...@googlegroups.com

On Mon, 08 Feb 2010 14:55:14 -0700
Kevin DeKorte <kdek...@gmail.com> wrote:

> Let me know how this works.

Apple.com trailers work here, but shoutcast is not working

Using xulrunner 1.9.1, firefox 3.5.7


--
Onur Küçük Knowledge speaks,
<onur.--.-.pardus.org.tr> but wisdom listens

Kevin DeKorte

unread,
Feb 8, 2010, 5:40:34 PM2/8/10
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/08/2010 03:37 PM, Onur K���k wrote:
>
> On Mon, 08 Feb 2010 14:55:14 -0700
> Kevin DeKorte <kdek...@gmail.com> wrote:
>
>> Let me know how this works.
>
> Apple.com trailers work here, but shoutcast is not working
>
> Using xulrunner 1.9.1, firefox 3.5.7
>
>

gnome-mplayer needs a patch to play shoutcast and it fixes a gtk warning
too. I actually fixed it about 20 mins ago. So just get gnome-mplayer
from SVN.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktwkuEACgkQ6w2kMH0L1dEGuACfVG6lXppMldovyVXTs443j8aY
umQAnjSZwKQA3+2nhFbtjFxV86XltCox
=XObg
-----END PGP SIGNATURE-----

Onur Küçük

unread,
Feb 8, 2010, 6:01:15 PM2/8/10
to gecko-me...@googlegroups.com

On Mon, 08 Feb 2010 15:40:34 -0700
Kevin DeKorte <kdek...@gmail.com> wrote:

> gnome-mplayer needs a patch to play shoutcast and it fixes a gtk
> warning too. I actually fixed it about 20 mins ago. So just get
> gnome-mplayer from SVN.

Ok apple and shoutcast both work fine now

Btw, I had told about a site [1] before, I figured installing 0.9.7
of both gecko-mediaplayer and gnome-mplayer to the same system fixes
playing the site. May that be related too ? I was trying to figure out
the exact svn commits to find where it stopped working but could not
have time.

When passing the URL to mplayer by hand, mplayer is not able to play,
but with gecko-mediaplayer and gnome-mplayer versions 0.9.7 it is
working.


[1] http://www.rtl.nl/components/actueel/rtlnieuws/index_video.xml
just click on a video, after the flash ad the video comes up

Onur Küçük

unread,
Feb 8, 2010, 6:06:06 PM2/8/10
to gecko-me...@googlegroups.com

On Tue, 9 Feb 2010 01:01:15 +0200
Onur Küçük <on...@pardus.org.tr> wrote:

> Btw, I had told about a site [1] before, I figured installing 0.9.7
> of both gecko-mediaplayer and gnome-mplayer to the same system fixes
> playing the site. May that be related too ?

Yes it was, it seems to be working fine with these updates :)

Kevin DeKorte

unread,
Feb 8, 2010, 6:25:15 PM2/8/10
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/08/2010 04:06 PM, Onur K���k wrote:
>
> On Tue, 9 Feb 2010 01:01:15 +0200
> Onur K���k <on...@pardus.org.tr> wrote:
>
>> Btw, I had told about a site [1] before, I figured installing 0.9.7
>> of both gecko-mediaplayer and gnome-mplayer to the same system fixes
>> playing the site. May that be related too ?
>
> Yes it was, it seems to be working fine with these updates :)
>
>

Excellent.

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAktwnVsACgkQ6w2kMH0L1dGmDgCdHZEG7VdJb2S+uYElpImx0y3W
n0AAn3SCb9uh1jTRpeyspLhUALvhe1kI
=4fMc
-----END PGP SIGNATURE-----

norsetto

unread,
Feb 9, 2010, 4:46:12 AM2/9/10
to gecko-mediaplayer
I guess both gnome-mlayer and gecko-mediaplayer 0.9.9.1 will be
released on tarball?

C.

On Feb 8, 10:55 pm, Kevin DeKorte <kdeko...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All,
>
> If you are having some issues with certain sites, can you please try the
> attached gecko-mediaplayer source code.
>

> I did a code audit today when trying to find the problem withhttp://plugindoc.mozdev.org/testpages/wmp9.htmland found that I was


> using the wrong NPRES and NPERR codes in several places. So I fixed all
> those codes and fixed the code for some sites after that. Required
> moving a few things around.
>
> Let me know how this works.
>
> I am also curious about compilations with libxul 1.9.2. I have received
> a few reports how it compiles one way but not another and the reports
> are conflicting.
>
> I was able to test this with xulrunner 1.9.1.6-2 and firefox 3.5.6 and
> it all seemed fine.  I compiled this code with xulrunner 1.9.1.6 and it
> did not work on apple.com sites when used with firefox 3.6.2pre2.
>
> I looked at the example plugin at mozilla.org
>

> http://mxr.mozilla.org/mozilla1.9.2/source/modules/plugin/default/win...


>
> And did the exact same thing they did to make the preference setting
> work for the user agent. So if you compile this plugin and using it on
> Firefox 3.6, please make sure you compile it against libxul 1.9.2.
>
> Kevin
>
> - --

> Get my public GnuPG key fromhttp://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1


> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)

> Comment: Using GnuPG with Fedora -http://enigmail.mozdev.org/


>
> iEYEARECAAYFAktwiEIACgkQ6w2kMH0L1dEjlQCfeGDVFtDcCtQcfOGE4BY/uUw6
> TvcAn3MDSfbCV9bdleedUxkmqYjYZ71b
> =wSh+
> -----END PGP SIGNATURE-----
>

>  gecko-mediaplayer-0.9.9.1.tar.gz
> 344KViewDownload

blaamann

unread,
Feb 9, 2010, 5:55:18 AM2/9/10
to gecko-mediaplayer
Hi
I tested a few sites today with latest svn versions, tuesday,9, 11:42
CET (I also did a quick test with 0.9.9.1)

mplayer svn version
gnome-mplayer svn version
gecko-mplayer svn version (At revision 363)

With stock libxul from Ubuntu Karmic:

checking for GECKO... yes
configure: libxul < 1.9.2 found
checking for NSPR... yes
checking for DBUS... yes
checking for GCONF... yes

Browser:
Firefox 3.6.3pre2 on Ubuntu Karmic 09.10


Test sites

* My local cinema (.mov files) *
Works: http://www.filmweb.no/bergenkino/incoming/article230395.ece?showtrailer=true
- Always worked
Shows nothing: http://www.filmweb.no/bergenkino/incoming/article228453.ece?showtrailer=true
- Can't tell if this is a regression
Shows after a while: http://www.filmweb.no/bergenkino/incoming/article226126.ece?showtrailer=true
- Some trailers are just slow to appear I guess

All in all my local cinema trailers works like they have always done.

* Norwegian Broadcasting Corporation *
All works (mms streaming)

* Apple trailers *
Tested 5 trailers and none of them shows.

Example:
http://www.apple.com/trailers/universal/thewolfman/

Click the watch now button and an overlay windows with gnome-mplayer
appears but does not play.


Some debug information:

Item
src = http://www.apple.com/trailers/
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerqfhhry
id = -1
play = 1
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_ram
URL Notify url = 'http://movies.apple.com/movies/universal/thewolfman/
thewolfman-fte1_h640w.mov'
reason = 0
http://www.apple.com/trailers/
/home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerqfhhry
/control/30819

However opening the URL http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_h640w.mov
in gnome-mplayer is no problem.

#######################

Then I tried the 'Large' version from the blue watch now button/menu
on the Wolfman page.

Same result as above.

Some debug information.

Item
src = http://www.apple.com/trailers/
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerwmthfl
id = 1
play = 1
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_ram
New Stream Requested - http://www.apple.com/trailers/
Duplicate request, item already retrieved
Entering destroy stream reason = 1 for http://www.apple.com/trailers/
Exiting destroy stream reason = 1 for http://www.apple.com/trailers/
URL Notify url = 'http://movies.apple.com/movies/universal/thewolfman/
thewolfman-fte1_h480p.mov'
reason = 1
http://www.apple.com/trailers/
/home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerwmthfl
/control/27861
URL Notify result is Network Error
URL Notify url = 'http://movies.apple.com/movies/universal/thewolfman/
thewolfman-fte1_h480p.mov'
reason = 0
http://www.apple.com/trailers/
/home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerwmthfl
/control/27861

(gnome-mplayer:4295): Gtk-CRITICAL **: gtk_widget_set_size_request:
assertion `width >= -1' failed

(gnome-mplayer:4295): Gtk-CRITICAL **: gtk_widget_set_size_request:
assertion `width >= -1' failed

################################################################################################################

Then I tried the download option.

gnome-mplayer opens but nothing plays.


Some debug information.

NPP_New called
Using player backend of '(null)'
DBUS connection created
Listening to path /control/14994
ARG: autoplay = false
ARG: autohref = autohref
ARG: target = quicktimeplayer
ARG: href = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
ARG: src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
ARG: width = 1
ARG: height = 1
Window resized
Calling GetURLNotify with item = 0x7f0937eab000 src = quicktimeplayer
Window resized
New Stream Requested - http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
Entering destroy stream reason = 0 for
http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
Entering list_parse_qt localsize = 85
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_h480p.mov
local =
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qt
Entering list_parse_qt2 localsize = 85
unable to find mmdr in /home/rune/.cache/gnome-mplayer/plugin/gecko-
mediaplayerafghrv
Entering list_parse_asx localsize = 85
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_h480p.mov
local =
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_asx
Entering list_parse_qml localsize = 85
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_h480p.mov
local =
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qml
Entering list_parse_ram localsize = 85
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_h480p.mov
local =
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_ram
URL Notify url = 'http://movies.apple.com/movies/universal/thewolfman/
thewolfman-fte1_480p.mov'
reason = 0
http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
/home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
/control/14994
New Stream Requested - http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
item is NULL
item is null
stream url http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
Entering destroy stream reason = 1 for
http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
Exiting destroy stream reason = 1 for
http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
URL Notify url = 'quicktimeplayer'
reason = 1
quicktimeplayer

/control/14994
URL Notify result is Network Error
New Stream Requested - http://www.apple.com/trailers/
Entering destroy stream reason = 0 for http://www.apple.com/trailers/
Entering list_parse_qt localsize = 24312
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://www.apple.com/trailers/
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayeryckyyb
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qt
Entering list_parse_qt2 localsize = 24312
unable to find mmdr in /home/rune/.cache/gnome-mplayer/plugin/gecko-
mediaplayeryckyyb
Entering list_parse_asx localsize = 24312
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://www.apple.com/trailers/
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayeryckyyb
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_asx
Entering list_parse_qml localsize = 24312
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://www.apple.com/trailers/
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayeryckyyb
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_qml
Entering list_parse_ram localsize = 24312
Item
src = quicktimeplayer
local =
id = 1
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayerafghrv
id = -1
play = 0
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://movies.apple.com/movies/universal/thewolfman/thewolfman-fte1_480p.mov
local =
id = 3
play = 0
path =
controlid = 0
playerready = 0
newwindow = 0
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Item
src = http://www.apple.com/trailers/
local = /home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayeryckyyb
id = 2
play = 1
path = /control/51565
controlid = 51565
playerready = 0
newwindow = 1
cancelled = 0
streaming = 0
loop = 0
loopcount = 0
Exiting list_parse_ram
URL Notify url = 'http://movies.apple.com/movies/universal/thewolfman/
thewolfman-fte1_h480p.mov'
reason = 0
http://www.apple.com/trailers/
/home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayeryckyyb
/control/14994
New Stream Requested - http://www.apple.com/trailers/
Duplicate request, item already retrieved
Entering destroy stream reason = 1 for http://www.apple.com/trailers/
Exiting destroy stream reason = 1 for http://www.apple.com/trailers/
URL Notify url = 'http://movies.apple.com/movies/universal/thewolfman/
thewolfman-fte1_h480p.mov'
reason = 1
http://www.apple.com/trailers/
/home/rune/.cache/gnome-mplayer/plugin/gecko-mediaplayeryckyyb
/control/14994
URL Notify result is Network Error

(gnome-mplayer:4396): Gtk-CRITICAL **: gtk_widget_set_size_request:
assertion `width >= -1' failed

(gnome-mplayer:4396): Gtk-CRITICAL **: gtk_widget_set_size_request:
assertion `width >= -1' failed

(gnome-mplayer:4398): Gtk-CRITICAL **: gtk_widget_set_size_request:
assertion `width >= -1' failed

(gnome-mplayer:4398): Gtk-CRITICAL **: gtk_widget_set_size_request:
assertion `width >= -1' failed

Last I tested the gecko-mplayer from your attached tar file and it
made no difference.

Regards
Blaamann

Kevin DeKorte

unread,
Feb 9, 2010, 8:57:23 AM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 3:55 AM, blaamann wrote:
> Hi
> I tested a few sites today with latest svn versions, tuesday,9, 11:42
> CET (I also did a quick test with 0.9.9.1)
>
> mplayer svn version
> gnome-mplayer svn version
> gecko-mplayer svn version (At revision 363)
>
> With stock libxul from Ubuntu Karmic:
>
> checking for GECKO... yes
> configure: libxul< 1.9.2 found
> checking for NSPR... yes
> checking for DBUS... yes
> checking for GCONF... yes
>
> Browser:
> Firefox 3.6.3pre2 on Ubuntu Karmic 09.10
>


Ok, you will note that I said that firefox 3.6 and libxul < 1.9.2 will
not work on Apple.com sites.. this is known.

What I need is someone to test firefox 3.6 and libxul 1.9.2 or greater.

Kevin

Kevin DeKorte

unread,
Feb 9, 2010, 9:00:44 AM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 2:46 AM, norsetto wrote:
> I guess both gnome-mlayer and gecko-mediaplayer 0.9.9.1 will be
> released on tarball?
>
> C.

Cesare,

Not at this point. I an still trying to figure out what works for
people. Especially with the user agent setting.

The one that is especially disturbing is that when we compile
gecko-mediaplayer against libxul 1.9.1 and try and use it with firefox
3.6 we have a problem with getting the session manager.

Kevin

blaamann

unread,
Feb 9, 2010, 10:22:41 AM2/9/10
to gecko-mediaplayer

Ok, I tried with
http://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2rc1/sdk/xulrunner-1.9.2.en-US.linux-i686.sdk.tar.bz2

and this is the result from running make after running configure like
this ./configure --with-xulrunner-sdk=/home/rune/apps/mplayer/
xulrunner-sdk:

t@ebox:~/apps/mplayer/gecko-mediaplayer-0.9.9.1# make
make all-recursive
make[1]: Entering directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1'
Making all in src
make[2]: Entering directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1/src'
Making all in libgmlib
make[3]: Entering directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1/src/libgmlib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1/src/libgmlib'
make[3]: Entering directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1/src'
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -DPACKAGE_LOCALE_DIR=\""/usr/local/
share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/
local/share"\" -I/home/rune/apps/mplayer/xulrunner-sdk/include -I/home/
rune/apps/mplayer/xulrunner-sdk/include/plugin -I/home/rune/apps/
mplayer/xulrunner-sdk/include/nspr -I/home/rune/apps/mplayer/xulrunner-
sdk/include/xpcom -I/home/rune/apps/mplayer/xulrunner-sdk/include/
string -I/home/rune/apps/mplayer/xulrunner-sdk/include/java -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/
glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/
include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -
I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_GCONF -
DMOZILLA_STRICT_API -DXP_UNIX -g -O2 -MT plugin_types_std.o -MD -MP
-MF .deps/plugin_types_std.Tpo -c -o plugin_types_std.o
plugin_types_std.cpp
mv -f .deps/plugin_types_std.Tpo .deps/plugin_types_std.Po
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC -DPACKAGE_LOCALE_DIR=\""/usr/local/
share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/
local/share"\" -I/home/rune/apps/mplayer/xulrunner-sdk/include -I/home/
rune/apps/mplayer/xulrunner-sdk/include/plugin -I/home/rune/apps/
mplayer/xulrunner-sdk/include/nspr -I/home/rune/apps/mplayer/xulrunner-
sdk/include/xpcom -I/home/rune/apps/mplayer/xulrunner-sdk/include/
string -I/home/rune/apps/mplayer/xulrunner-sdk/include/java -I/usr/
include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/
glib-2.0/include -DORBIT2=1 -pthread -I/usr/include/gconf/2 -I/usr/
include/orbit-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -
I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_GCONF -
DMOZILLA_STRICT_API -DXP_UNIX -g -O2 -MT plugin.o -MD -MP -MF .deps/
plugin.Tpo -c -o plugin.o plugin.cpp
plugin.cpp: In member function ‘virtual bool
ScriptablePluginObject::Invoke(void*, const NPVariant*, uint32_t,
NPVariant*)’:
plugin.cpp:1717: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1794: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1803: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1812: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1821: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1830: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1839: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp:1848: error: ‘const struct NPString’ has no member named
‘utf8characters’
plugin.cpp: In member function ‘virtual bool
ScriptablePluginObject::SetProperty(void*, const NPVariant*)’:
plugin.cpp:1943: error: ‘const struct NPString’ has no member named
‘utf8characters’
make[3]: *** [plugin.o] Error 1
make[3]: Leaving directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rune/apps/mplayer/gecko-
mediaplayer-0.9.9.1'
make: *** [all] Error 2
t@ebox:~/apps/mplayer/gecko-mediaplayer-0.9.9.1#

blaamann

unread,
Feb 9, 2010, 11:04:48 AM2/9/10
to gecko-mediaplayer
Complete output from configure. As you can see there is no GECKO check
output.

t@ebox:~/apps/mplayer/gecko-mediaplayer-0.9.9.1# ./configure --with-
xulrunner-sdk=/home/rune/apps/mplayer/xulrunner-sdk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of
Makefiles... no
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking how to run the C preprocessor... gcc -E
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for ranlib... ranlib
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... cs es fr ja it nl pl pt_BR
tr
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes


checking for NSPR... yes
checking for DBUS... yes
checking for GCONF... yes

Using config source xml:merged:/etc/gconf/gconf.xml.defaults for
schema installation
Using $(sysconfdir)/gconf/schemas as install directory for schema
files
checking for GIO... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gecko-mediaplayer.spec
config.status: creating src/Makefile
config.status: creating src/libgmlib/Makefile
config.status: creating po/Makefile.in
config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --
datarootdir setting
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing default-1 commands
t@ebox:~/apps/mplayer/gecko-mediaplayer-0.9.9.1#

On Feb 9, 4:22 pm, blaamann <bagge...@gmail.com> wrote:
> On Feb 9, 2:57 pm, Kevin DeKorte <kdeko...@gmail.com> wrote:
>
>
>
> > On 2/9/2010 3:55 AM, blaamann wrote:
>
> > > Hi
> > > I tested a few sites today with latest svn versions, tuesday,9, 11:42
> > > CET (I also did a quick test with 0.9.9.1)
>
> > > mplayer svn version
> > > gnome-mplayer svn version
> > > gecko-mplayer svn version (At revision 363)
>
> > > With stock libxul from Ubuntu Karmic:
>
> > > checking for GECKO... yes
> > > configure: libxul<  1.9.2 found
> > > checking for NSPR... yes
> > > checking for DBUS... yes
> > > checking for GCONF... yes
>
> > > Browser:
> > > Firefox 3.6.3pre2 on Ubuntu Karmic 09.10
>
> > Ok, you will note that I said that firefox 3.6 and libxul < 1.9.2 will
> > not work on Apple.com sites.. this is known.
>
> > What I need is someone to test firefox 3.6 and libxul 1.9.2 or greater.
>
> > Kevin
>

> Ok, I tried withhttp://releases.mozilla.org/pub/mozilla.org/xulrunner/releases/1.9.2r...

Kevin DeKorte

unread,
Feb 9, 2010, 11:29:30 AM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 9:04 AM, blaamann wrote:
> Complete output from configure. As you can see there is no GECKO check
> output.
>

Yes, I know where the problem is, it is in the configure.in file. I just
have not had any time to look at it today.

Basically need to do something like the check in libxul, just not sure
how to do it yet. Might just need a "--enable-new-libxul" to force
around it. Does your /home/rune/apps/mplayer/xulrunner-sdk directory
have a .pc file in it. Right now we are taking the version from the .pc
file. So a way to detect the version of the sdk is needed.

Kevin


blaamann

unread,
Feb 9, 2010, 11:50:11 AM2/9/10
to gecko-mediaplayer

There is no .pc file in the sdk I downloaded.

rune@ebox:~/apps/mplayer/xulrunner-sdk$ find . -name *.pc
rune@ebox:~/apps/mplayer/xulrunner-sdk$

- Blaamann

Kevin DeKorte

unread,
Feb 9, 2010, 4:31:50 PM2/9/10
to gecko-me...@googlegroups.com
On 2/8/2010 2:55 PM, Kevin DeKorte wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> All,
>
> If you are having some issues with certain sites, can you please try the
> attached gecko-mediaplayer source code.
>
> I did a code audit today when trying to find the problem with
> http://plugindoc.mozdev.org/testpages/wmp9.html and found that I was
> using the wrong NPRES and NPERR codes in several places. So I fixed all
> those codes and fixed the code for some sites after that. Required
> moving a few things around.
>
> Let me know how this works.
>
> I am also curious about compilations with libxul 1.9.2. I have received
> a few reports how it compiles one way but not another and the reports
> are conflicting.
>
> I was able to test this with xulrunner 1.9.1.6-2 and firefox 3.5.6 and
> it all seemed fine. I compiled this code with xulrunner 1.9.1.6 and it
> did not work on apple.com sites when used with firefox 3.6.2pre2.
>
> I looked at the example plugin at mozilla.org
>
> http://mxr.mozilla.org/mozilla1.9.2/source/modules/plugin/default/windows/plugin.cpp#220
>
> And did the exact same thing they did to make the preference setting
> work for the user agent. So if you compile this plugin and using it on
> Firefox 3.6, please make sure you compile it against libxul 1.9.2.
>
> Kevin

Ok, I've made some more patches to SVN...

Patch #1

when using --with-xulrunner-sdk and the sdk is 1.9.2 or greater add
--enable-new-libxul to the configure line. If you are using libxul that
is found by pkg-config, this flag is not needed and will be ignored.

Patch #2

Change back to using NS_GetServiceManager for any libxul. I found that
this compiles properly with libxul 1.9.1-6 and xulrunner-sdk 1.9.2.1pre

With these two patches I can play apple.com videos in Firefox 3.5.6 and
3.6.2pre

I am expecting that someone will have issues with this, when you do
please report the version of firefox you are using, the version of
libxul or xulrunner you compiled with and the full error message that
that compiler gives you.

There was a report of xulrunner 1.9.2.2pre from Byeong-ryeol Kim not
having NS_GetServiceManager. I got the nightly build of that from
Mozilla and it compiles against that code correctly too. BTW
NS_GetServiceManager is included in libxpcom.so for further reference.

Kevin

Kevin DeKorte

unread,
Feb 9, 2010, 4:54:22 PM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 2:31 PM, Kevin DeKorte wrote:

> Patch #2
>
> Change back to using NS_GetServiceManager for any libxul. I found that
> this compiles properly with libxul 1.9.1-6 and xulrunner-sdk 1.9.2.1pre
>
> With these two patches I can play apple.com videos in Firefox 3.5.6 and
> 3.6.2pre
>
> I am expecting that someone will have issues with this, when you do
> please report the version of firefox you are using, the version of
> libxul or xulrunner you compiled with and the full error message that
> that compiler gives you.
>
> There was a report of xulrunner 1.9.2.2pre from Byeong-ryeol Kim not
> having NS_GetServiceManager. I got the nightly build of that from
> Mozilla and it compiles against that code correctly too. BTW
> NS_GetServiceManager is included in libxpcom.so for further reference.
>
> Kevin

See https://bugzilla.mozilla.org/show_bug.cgi?id=545224

Kevin

Santana

unread,
Feb 9, 2010, 5:10:09 PM2/9/10
to gecko-mediaplayer
OK. Gecko-mediaplayer SVN works perfectly now on many sites.

www.nasa.gov works (both NASA-TV and NASA videos).

http://kb.mozillazine.org/Testing_plugins works.

http://www.apple.com/trailers/ works.

Apple HD gallery does not work.

Screenshot with gecko-mediaplayer 0.9.8:

http://yfrog.com/5ngmp02p

Screenshot with gecko-mediaplayer SVN:

http://yfrog.com/5jgmp01p

Kevin DeKorte

unread,
Feb 9, 2010, 5:12:41 PM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 3:10 PM, Santana wrote:
> OK. Gecko-mediaplayer SVN works perfectly now on many sites.
>
> www.nasa.gov works (both NASA-TV and NASA videos).
>
> http://kb.mozillazine.org/Testing_plugins works.
>
> http://www.apple.com/trailers/ works.
>
> Apple HD gallery does not work.
>
> Screenshot with gecko-mediaplayer 0.9.8:
>
> http://yfrog.com/5ngmp02p
>
> Screenshot with gecko-mediaplayer SVN:
>
> http://yfrog.com/5jgmp01p
>

Can you give the URL to the apple HD gallery?

Kevin

Santana

unread,
Feb 9, 2010, 5:42:47 PM2/9/10
to gecko-mediaplayer
http://www.apple.com/quicktime/guide/hd/

Videos are displayed in gnome-mplayer (registered as the default
player for mms and rtsp protocols in Mozilla/Firefox).

On 9 Feb, 23:12, Kevin DeKorte <kdeko...@gmail.com> wrote:
> On 2/9/2010 3:10 PM, Santana wrote:
>
>
>
> > OK. Gecko-mediaplayer SVN works perfectly now on many sites.
>

> >www.nasa.govworks (both NASA-TV and NASA videos).

Kevin DeKorte

unread,
Feb 9, 2010, 7:16:39 PM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 3:42 PM, Santana wrote:
> http://www.apple.com/quicktime/guide/hd/
>
> Videos are displayed in gnome-mplayer (registered as the default
> player for mms and rtsp protocols in Mozilla/Firefox).
>

I see why it doesn't work, I just have to find where to fix it.

Kevin

Kevin DeKorte

unread,
Feb 9, 2010, 8:55:29 PM2/9/10
to gecko-me...@googlegroups.com
On 2/9/2010 3:42 PM, Santana wrote:
> http://www.apple.com/quicktime/guide/hd/

Ok this site works in SVN now. Finally tracked down the problem.

Kevin

Cesare Tirabassi

unread,
Feb 10, 2010, 2:39:23 AM2/10/10
to gecko-me...@googlegroups.com
Since our freeze is on February the 18th, I need to ask if there is
any chance to get 0.9.9.1 out by then.
Don't feel compelled to answer yes even if the answer is no, either
way I can work around it, I just need to know so I won't miss the
deadline.

C.

> --
> You received this message because you are subscribed to the Google Groups
> "gecko-mediaplayer" group.
> To post to this group, send email to gecko-me...@googlegroups.com.
> To unsubscribe from this group, send email to
> gecko-mediapla...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/gecko-mediaplayer?hl=en.
>
>

blaamann

unread,
Feb 10, 2010, 4:16:21 AM2/10/10
to gecko-mediaplayer
All my usual tests all works now with:

- gnome-mplayer from svn
- gecko-mplayer from svn
- Xulrunner-sdk 1.9.2rc1
- Firefox 3.6.2pre
- Ubuntu Karmic 64bit

Thanks!

Kevin DeKorte

unread,
Feb 10, 2010, 10:38:31 AM2/10/10
to gecko-me...@googlegroups.com
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 02/10/2010 12:39 AM, Cesare Tirabassi wrote:
> Since our freeze is on February the 18th, I need to ask if there is
> any chance to get 0.9.9.1 out by then.
> Don't feel compelled to answer yes even if the answer is no, either
> way I can work around it, I just need to know so I won't miss the
> deadline.
>
> C.

Maybe? Ping me early next week and maybe we can do a snapshot release
for you. I am liking how 0.9.9.1 is coming together I think I need to
make a couple of minor changes (internal flags for the most part).

Kevin

- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iEYEARECAAYFAkty0vcACgkQ6w2kMH0L1dH9QACfZZusoYNKNNGrj1coqG8Nbfn1
DBMAnRtvjQ9BJ2qQ9AuLCTSQHVemlHlw
=huUL
-----END PGP SIGNATURE-----

Reply all
Reply to author
Forward
0 new messages