After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 468740 - Play button is sensitive with nothing to play
Play button is sensitive with nothing to play
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
2.19.x
Other Linux
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
Depends on:
Blocks:
 
 
Reported: 2007-08-21 05:12 UTC by Diego Escalante Urrelo (not reading bugmail)
Modified: 2014-04-30 11:21 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Diego Escalante Urrelo (not reading bugmail) 2007-08-21 05:12:59 UTC
While trying to see a video about Perú's 1 over 0 against S. Korea, I broke my heart when I found that totem doesn't play it automagically and that the play button is useless.
Suggestions:
1. Make it play
2. Have the play button insensitive if totem is not ready so I don't have the stress of not knowing if I should press the button or not.

:)
Comment 1 Bastien Nocera 2007-08-21 08:34:05 UTC
URL? Version?

Try the latest SVN and give the debug output as well as the URL for the page in question.
Comment 2 Diego Escalante Urrelo (not reading bugmail) 2007-08-21 08:50:32 UTC
Damn! I knew I was forgetting something!!.

http://www.fifa.com/newscentre/videos/player.html#ch=u17&id=573714

** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin ctor [0x8a5fb28]
** Message: Init mimetype 'application/x-mplayer2' mode 1
** Message: Base URI is 'http://www.fifa.com/newscentre/videos/player.html#ch=u17&id=573714'
** Message: Real mimetype for 'application/x-mplayer2' is 'video/x-msvideo'
argv[0] type application/x-mplayer2
argv[1] pluginspage http://www.microsoft.com/Windows/MediaPlayer
argv[2] id dsrmotion
argv[3] showstatusbar 1
argv[4] showtracker 1
argv[5] allowchangedisplaysize 1
argv[6] height 340
argv[7] width 519
** Message: mSrc: 
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 1
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutostart: 1, mRepeat: 0
** Message: Launching: /usr/lib/totem/totem-plugin-viewer --plugin-type gmp --user-agent Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.6) Gecko/20070810 Epiphany/2.18 Firefox/2.0.0.6 --mimetype video/x-msvideo --statusbar 
** Message: Viewer spawned, PID 13443
** Message: GetValue variable 14 (e)
** Message: Initial window set, XID 4a00424 size 519x340
** Message: No viewer proxy yet, deferring SetWindow
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_13443'
** Message: NameOwnerChanged old-owner '' new-owner ':1.198'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
** Message: NameOwnerChanged old-owner '' new-owner ':1.198'
** Message: Already have owner, why are we notified again?
Viewer: SetWindow XID 77595684 size 519:340
sh: jackd: not found
** Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
** Message: totemPlugin dtor [0x8a5fb28]
** Message: NP_Shutdown
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: GetValue variable 1 (1)
** Message: GetValue variable 2 (2)
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin ctor [0x8b57c80]
** Message: Init mimetype 'application/x-mplayer2' mode 1
** Message: Base URI is 'http://www.fifa.com/newscentre/videos/player.html#ch=u17&id=573714'
** Message: Real mimetype for 'application/x-mplayer2' is 'video/x-msvideo'
argv[0] type application/x-mplayer2
argv[1] pluginspage http://www.microsoft.com/Windows/MediaPlayer
argv[2] id dsrmotion
argv[3] showstatusbar 1
argv[4] showtracker 1
argv[5] allowchangedisplaysize 1
argv[6] height 340
argv[7] width 519
** Message: mSrc: 
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 1
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutostart: 1, mRepeat: 0
** Message: Launching: /usr/lib/totem/totem-plugin-viewer --plugin-type gmp --user-agent Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.6) Gecko/20070810 Epiphany/2.18 Firefox/2.0.0.6 --mimetype video/x-msvideo --statusbar 
** Message: Viewer spawned, PID 13448
** Message: GetValue variable 14 (e)
** Message: Initial window set, XID 4a006c8 size 519x340
** Message: No viewer proxy yet, deferring SetWindow
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_13448'
Gtk-Message: Failed to load module "gnomebreakpad": libgnomebreakpad.so: cannot open shared object file: No such file or directory
** Message: NameOwnerChanged old-owner '' new-owner ':1.199'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
** Message: NameOwnerChanged old-owner '' new-owner ':1.199'
** Message: Already have owner, why are we notified again?
Viewer: SetWindow XID 77596360 size 519:340
sh: jackd: not found
** Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
** Message: ButtonPress signal received
** Message: ButtonPress

totem-plugin-viewer 2.19.6
Browser Plugin using GStreamer 0.10.14

I'll try SVN later.
Comment 3 Bastien Nocera 2007-08-21 09:42:24 UTC
There's 2 things. First, the site sucks quite a bit. You need to click to get the videos listed in the bottom-right frame (with your URL, I had to click on another category on the bottom-left, then on U-17, then clicked on the video, which started playing).

I couldn't even get the site working in Safari, so you might want to double-check you have a recent Firefox/Mozilla.

I'm using the current Totem SVN (and so should you, or at least 2.19.90).

Here's the debug output when successfully playing:
** Message: NP_Shutdown
** Message: NP_Initialize
** Message: NP_Initialize succeeded
** Message: totemPlugin ctor [0x1256430]
** Message: Init mimetype 'application/x-mplayer2' mode 1
** Message: Base URI is 'http://www.fifa.com/newscentre/videos/player.html#ch=u17&id=573714'
** Message: Real mimetype for 'application/x-mplayer2' is 'video/x-msvideo'
argv[0] type application/x-mplayer2
argv[1] pluginspage http://www.microsoft.com/Windows/MediaPlayer
argv[2] id dsrmotion
argv[3] showstatusbar 1
argv[4] showtracker 1
argv[5] allowchangedisplaysize 1
argv[6] src /newscentre/videos/asx/ch=u20/videoid=555969/resolution=h.asx
argv[7] height 340
argv[8] width 519
** Message: mSrc: /newscentre/videos/asx/ch=u20/videoid=555969/resolution=h.asx
** Message: mCache: 0
** Message: mControllerHidden: 0
** Message: mShowStatusbar: 1
** Message: mHidden: 0
** Message: mAudioOnly: 0
** Message: mAutostart: 1, mRepeat: 0
** Message: Launching: ./totem-plugin-viewer --plugin-type gmp --user-agent Mozilla/5.0 (X11; U; Linux x86_64; en; rv:1.8.0.12) Gecko/20070530 Fedora/1.5.0.12-1.fc6 Epiphany/2.16 Firefox/1.5.0.12 --mimetype video/x-msvideo --statusbar 
** Message: Viewer spawned, PID 12968
** Message: GetValue variable 14 (e)
** Message: Initial window set, XID 3e01573 size 519x340
** Message: No viewer proxy yet, deferring SetWindow
** Message: Viewer DBus interface name is 'org.gnome.totem.PluginViewer_12968'
** Message: NameOwnerChanged old-owner '' new-owner ':1.100'
** Message: Viewer now connected to the bus
** Message: ViewerSetup
** Message: Calling SetWindow
** Message: NameOwnerChanged old-owner '' new-owner ':1.100'
** Message: Already have owner, why are we notified again?
Viewer: SetWindow XID 65017203 size 519:340
/usr/share/themes/Clearlooks-DeepSky/gtk-2.0/gtkrc:44: Clearlooks configuration option "menuitemstyle" is not supported and will be ignored.
/usr/share/themes/Clearlooks-DeepSky/gtk-2.0/gtkrc:45: Clearlooks configuration option "listviewitemstyle" is not supported and will be ignored.
/usr/share/themes/Clearlooks-DeepSky/gtk-2.0/gtkrc:46: Clearlooks configuration option "progressbarstyle" is not supported and will be ignored.
** Message: Viewer state: STOPPED
** Message: SetWindow reply
** Message: ViewerReady
** Message: IsSchemeSupported scheme 'http': yes
** Message: totem_embedded_open_internal 'fd://0' is-browser-stream 1 start-play 1
** Message: BEFORE _open
** Message: AFTER _open (ret: 1)
** Message: Viewer state: PLAYING
** Message: NewStream mimetype 'text/html' URL 'http://www.fifa.com/newscentre/videos/asx/ch=u20/videoid=555969/resolution=h.asx'
** Message: Not expecting a new stream; aborting stream
** Message: OpenStream reply
** Message: NewStream mimetype 'text/html' URL 'http://www.fifa.com/newscentre/videos/asx/ch=u20/videoid=555969/resolution=h.asx'
** Message: Should be dual type 'audio/x-ms-asx', making sure now
** Message: Is dual type 'audio/x-ms-asx'
** Message: Is playlist; need to wait for the file to be downloaded completely
** Message: StreamAsFile filename '/tmp/epiphany-hadess-6foeqf/epiphany/mozilla/epiphany/Cache/1E80BE5Fd01'
** Message: Setting the current playlist to /tmp/epiphany-hadess-6foeqf/epiphany/mozilla/epiphany/Cache/1E80BE5Fd01 (base: http://www.fifa.com/newscentre/videos/player.html#ch=u17&id=573714)
added URI 'mms://83.231.172.51/video/tournament/competition/001590%5fhl%5f50%5fchile-argentina%5f700%5f12637.wmv'
        title = 'FIFA.com Video'
** Message: DestroyStream reason 0
** Message: URLNotify URL 'http://www.fifa.com/newscentre/videos/asx/ch=u20/videoid=555969/resolution=h.asx' reason 0
added URI 'http://m1.2mdn.net/viewad/817-grey.gif'
        title = 'DoubleClick Ad'
        duration = '00:00:00.1'
added URI 'http://m1.2mdn.net/879366/imp_03_06.swf?impParams=rnd=3272626#mtf#dartImpUrl=http://ad.doubleclick.net/imp;v7;x;117362548;0-0;1;17969629;384/288;21710483/21728373/1;;~okv=;site=www;sz=384x288;;~cs=m%3f#mtf#dartAdId=117362548#mtf#thirdPartyImpressionURL=#mtf#ISCI=#mtf#metPostingURL=http://ad.doubleclick.net/activity;src=1500051;met=1;v=1;pid=17969629;aid=117362548;ko=1;cid=21710483;rid=21728373;rv=1;#mtf#thirdPartyCompleteURL=#mtf#customParams=#mtf#surveyURL=#mtf#thirdPartyMidpointURL='
        title = 'DoubleClick Ad'
        duration = '00:00:00.5'
added URI 'http://www.fifa.com/mm/adverts/video/sony/sonybravia_384x288_vseries_en.wmv'
added URI 'http://m1.2mdn.net/viewad/817-grey.gif'
        title = 'DoubleClick Ad'
        duration = '00:00:00.1'
added URI 'http://m1.2mdn.net/879366/imp_03_06.swf?compParams=true'
        title = 'DoubleClick Ad'
        duration = '00:00:00.5'
added URI 'http://m1.2mdn.net/879366/blank_01_00.wmv'
** Message: totem_embedded_open_internal 'mms://83.231.172.51/video/tournament/competition/001590%5fhl%5f50%5fchile-argentina%5f700%5f12637.wmv' is-browser-stream 0 start-play 0
** Message: BEFORE _open
** Message: AFTER _open (ret: 1)
** Message: Viewer state: PAUSED
** Message: Viewer state: PLAYING
** Message: Viewer state: PAUSED
** Message: totemPlugin dtor [0x1256430]
** Message: NP_Shutdown

There are 2 problems left. First, GStreamer can't play the stream properly. I'm checking that out now.

Then how can we tell if the play button should be sensitive by default. Christian, do you have any ideas how we could make sure the play button is unsensitive when it needs to be?
Comment 4 Bastien Nocera 2007-08-21 09:52:37 UTC
The video is DRM'ed and won't play in Linux. See bug 468790

The play button problem still stands.
Comment 5 Diego Escalante Urrelo (not reading bugmail) 2007-08-21 11:44:45 UTC
Evil FIFA!.
Comment 6 Christian Persch 2007-08-21 21:37:47 UTC
(In reply to comment #3)
> Then how can we tell if the play button should be sensitive by default.
> Christian, do you have any ideas how we could make sure the play button is
> unsensitive when it needs to be?

Not sure what you're asking...

I guess it's simpler to enumerate the exact conditions in which the Play button should be _sensitive_:
- we're in click-to-play mode and haven't got a click yet
- we do have a movie that we know can be player, and that's either not started yet, or paused

In all other cases, the button should be insensitive.

Comment 7 Bastien Nocera 2014-04-30 11:21:46 UTC
The browser plugin has been removed from Totem. See this post for more details:
http://www.hadess.net/2014/04/good-bye-totem-browser-plugin.html