kdekorte / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

Ninjavideo.net Compatibility #58

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Ninjavideo.net uses a somewhat messy system, making things tricky. For one
thing, the video player must wait for other components of their setup
(megaupload?) to be ready before trying to load the video. It might help by
starting with a way that things DO work.

What steps will reproduce success?
1. Install the old mplayer-plugin (and uninstall gecko-mediaplayer)
2. Install Greasemonkey for Firefox
3. Install this Greasemonkey script: http://userscripts.org/scripts/show/59984
4. Launch the java "helper" applet: http://www.ninjavideo.net/applet.php
5. Launch an NV video page, like http://www.ninjavideo.net/video/47277
6. Enter the captcha
7. Observe the 45 second delay before mplayer-plugin is spawned (created by
the GM script)
8. Profit

That works, but using gecko-mediaplayer would be much nicer.

Without the Greasemonkey script running, gecko-mediaplayer fails to load
any video. With the script running, some really strange behavior occurs.

After entering the captcha, the count down begins. At the same time, four
instances of gecko-mediaplayer spawn outside of the Firefox window, as
floating control bars. When the countdown completes, a fifth, embedded
gecko-mediaplayer instance appears where it should in the webpage. None of
them load any video, however. Sometimes Firefox crashes. For me, trying
http://www.ninjavideo.net/video/32552 launched three floating
gecko-mediaplayers and crashed the browser (reliably).

I've put off reporting this because it's just such a messy situation -- I
apologize if I haven't communicated things clearly. Of course, I'm happy to
do any testing, reporting, clarifying, etc.

What version of the product are you using? On what operating system?

gnome-mplayer/gecko-mediaplayer 0.9.8
arch 64/kernel26 2.6.31

Some additional discussion, including statement from the script author:
http://ubuntuforums.org/showthread.php?t=1290333&page=3

Original issue reported on code.google.com by evilgn...@gmail.com on 9 Nov 2009 at 1:16

GoogleCodeExporter commented 9 years ago
Sounds like a real player emulation issue. Does the site offer the videos in 
Windows
Media Player or Quicktime format. Real Player is really difficult to emulate 
due to
the way it spawns off separate instances of the plugin.

Also can you provide a backtrace? Perhaps the segfault could be fixed.

Also have you tried the SVN version of gecko-mediaplayer?

Original comment by kdeko...@gmail.com on 9 Nov 2009 at 3:55

GoogleCodeExporter commented 9 years ago
The videos on the site are divx-encoded .avi files meant to be played with the 
divx
web player. I just built from svn and tried a new video -- similar results, 2
floating controls this time. The number spawned is pretty variable I guess.

How do I go about getting a backtrace? Do you mean from gecko-mediaplayer 
directly or
from firefox --debug or something?

Original comment by evilgn...@gmail.com on 9 Nov 2009 at 4:06

GoogleCodeExporter commented 9 years ago
usually firefox -g will start firefox in a debugger. But you have to have all 
other
instances of firefox closed.

Original comment by kdeko...@gmail.com on 9 Nov 2009 at 1:44

GoogleCodeExporter commented 9 years ago
Sorry for the silence. I couldn't for the life of me get firefox set up and 
compiled 
correctly for debugging, and then I switched to chromium. I know that's not 
your 
target, but maybe this will help anyway.

Here's the output from chromium trying to watch the video at 
http://www.ninjavideo.net/video/55008 , with & without the countdown user 
script 
enabled.

using mplayer-plugin and the user script works, just as in firefox.

Original comment by evilgn...@gmail.com on 17 Jan 2010 at 12:02

Attachments:

GoogleCodeExporter commented 9 years ago
Hi. I have similar issues with gecko-mediaplayer and the ninjavideo website.

I've attached a file with firefox running in debug mode, and then my attempt to 
load
a video on this website. I hope the output helps!

Do let me know if you require any more information.

Original comment by astiak.a...@gmail.com on 21 Jan 2010 at 2:45

Attachments:

GoogleCodeExporter commented 9 years ago
Does this problem still exist with the 0.9.9.2 version?

Original comment by kdeko...@gmail.com on 15 Mar 2010 at 1:09

GoogleCodeExporter commented 9 years ago
Hi I can confirm that with version 0.9.9.2 it is now fully operational if used 
in
combination with the greasemonkey script mentioned earlier.

Thanks kdekorte!

Original comment by astiak.a...@gmail.com on 15 Mar 2010 at 2:19

GoogleCodeExporter commented 9 years ago
Great... closing ticket

Original comment by kdeko...@gmail.com on 15 Mar 2010 at 2:23

GoogleCodeExporter commented 9 years ago
No such luck here. gecko-mediaplayer-0.9.9.2-1 and google chrome 5.0.307.9 beta 
on 
arch linux.

I have a single instance of the "floating window" during the greasemonkey 
countdown, 
and no video playback or buffering etc on either window afterwards. If there's 
any 
more info I can give I'd be glad to help.

Original comment by visual...@gmail.com on 15 Mar 2010 at 7:54

GoogleCodeExporter commented 9 years ago
visualsid,

Can you please test with firefox instead of chrome as the grease monkey script 
may
not work in Chrome

Original comment by kdeko...@gmail.com on 15 Mar 2010 at 8:04

GoogleCodeExporter commented 9 years ago
Absolutely perfect with "Namaroka" version 3.6. Thanks, I've been waiting for 
this
for a while and I'm really happy to see it working.

I'm actually using the greasemonkey script downloaded from here:
http://userscripts.org/scripts/show/67168 as the original script has been 
downloaded.
I believe this is the same file.

Original comment by visual...@gmail.com on 15 Mar 2010 at 8:31