adriantr09 / gecko-mediaplayer

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

Site works with mplayerplug-in but not with Gecko-Mediaplayer #17

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Open
http://www.radio-canada.ca/audio-video/#urlMedia=http://www.radio-canada.ca/util
/endirect/rdidirect.asx&pos=0
2. It should start a feed directly
3. Do the same with mplayer 3.55 and it works when it does not hang at the
load in

What is the expected output? What do you see instead?
I am expecting the video feed to start. It just hang there.

What version of the product are you using? On what operating system?
gecko-mediaplayer.i386 0:0.9.5-1.fc9

Please provide any additional information below.

Linux localhost.localdomain 2.6.27.19-78.2.30.fc9.i686 #1 SMP Tue Feb 24
20:09:23 EST 2009 i686 i686 i386 GNU/Linux

firefox-3.0.8-1.fc9.i386

mplayerplug-in-3.55-35.fc9.i386 (from atrpms)

Original issue reported on code.google.com by ars...@googlemail.com on 3 Apr 2009 at 2:43

GoogleCodeExporter commented 8 years ago
Are you sure that site should work? Looks like a flash based site to me... or is
there an option to change that some where?

Original comment by kdeko...@gmail.com on 3 Apr 2009 at 2:53

GoogleCodeExporter commented 8 years ago
Yes it should work.

It is the same logic as tv5.org or others. You get an Flash front end for 
navigation
purpose and it switch to embedded video frame when you activate the go button. 
As you
can see in the attachments mplayerpug-in does get called properly.

Cheers,

Original comment by ars...@googlemail.com on 3 Apr 2009 at 3:10

Attachments:

GoogleCodeExporter commented 8 years ago
I installed mplayerplug-in and while it works with other sites, I still can't 
get it
to work with the Canada site.. Can you please post the "about:plugins" output 
from
the browser with mplayerplug-in installed. Also do you have the
mplayerplug-in-0.4.xpi installed?

Original comment by kdeko...@gmail.com on 3 Apr 2009 at 3:36

GoogleCodeExporter commented 8 years ago
ok, I did some testing on this site and found a couple of problems..

1. the site is specifically looking for mplayerplug-in.. That can be fixed with 
this
patch..

Index: src/plugin_types_std.cpp
===================================================================
--- src/plugin_types_std.cpp    (revision 290)
+++ src/plugin_types_std.cpp    (working copy)
@@ -126,7 +126,7 @@
     // some sites use this description to figure out what formats can be played. So
we have to make sure the 
     // description matches the features
     if (variable == NPPVpluginNameString) {
-        *((const char **) value) = "gecko-mediaplayer " VERSION;
+        *((const char **) value) = "mplayerplug-in is now gecko-mediaplayer " 
VERSION;
     }
     if (variable == NPPVpluginDescriptionString) {
         *((const char **) value) =

2. The site appears to have a javascript bug in it. It tried to look for
srcAV_classPlayer_silverLight1, which it should not look for on Linux. Or at 
least
fail gracefully.

Let me know if the patch fixes your problem and if so I'll commit it. 
Otherwise, the
site needs to be fixed.

Original comment by kdeko...@gmail.com on 3 Apr 2009 at 4:02

GoogleCodeExporter commented 8 years ago
ok, I got it work with the patch above, but I had to uninstall the moonlight 
plugin
from my machine...

I will be applying that patch, but it really a hack.

Original comment by kdeko...@gmail.com on 3 Apr 2009 at 4:09

GoogleCodeExporter commented 8 years ago
I will see if they can change their code to check for gecko also. Once I get an
answer I'll let you know.

Cheers,

Original comment by ars...@googlemail.com on 3 Apr 2009 at 4:48

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 2 Jul 2009 at 8:50