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 366145 - expressen.se can't recognise totemNarrowSpacePlugin as Quicktime 6+.
expressen.se can't recognise totemNarrowSpacePlugin as Quicktime 6+.
Status: RESOLVED OBSOLETE
Product: totem
Classification: Core
Component: Browser plugin (obsolete)
2.17.x
Other Linux
: Normal normal
: ---
Assigned To: totem-browser-maint
totem-browser-maint
Depends on: 366217
Blocks:
 
 
Reported: 2006-10-28 07:58 UTC by Filip Palm
Modified: 2014-04-30 11:22 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18


Attachments
techqs.html from http://expressen.se/webb-tv/techqs.html. (7.11 KB, text/html)
2006-10-28 08:00 UTC, Filip Palm
  Details
browserCheck.js from http://expressen.se/webb-tv/code/browserCheck.js. (9.92 KB, text/plain)
2006-10-28 08:02 UTC, Filip Palm
  Details
apemediaplayer.js from http://expressen.se/webb-tv/code/apemediaplayer.js. (13.28 KB, text/plain)
2006-10-28 08:04 UTC, Filip Palm
  Details
Patch for totemNarrowSpacePlugin.cpp to change "QuickTime Plug-in 7.0 (compatible; Totem)" to "QuickTime Plug-in 7.0" (833 bytes, patch)
2006-10-28 11:16 UTC, Filip Palm
committed Details | Review

Description Filip Palm 2006-10-28 07:58:29 UTC
When going to www.expressen.se and try out there "Web-TV" i get error message from their site that Quicktime 6+ isn't installed.

Flash 8 and Firefox passes okey. (I have Adobes Flash 9-beta)

URL: http://expressen.se/webb-tv/index.html?serialid=75991

Other information:
Totem-CVS(Gstreamer)
Comment 1 Filip Palm 2006-10-28 08:00:33 UTC
Created attachment 75553 [details]
techqs.html from http://expressen.se/webb-tv/techqs.html.

This page contains Javascripts that say that i don't have Quicktime 6+ installed.
Comment 2 Filip Palm 2006-10-28 08:02:29 UTC
Created attachment 75554 [details]
browserCheck.js from http://expressen.se/webb-tv/code/browserCheck.js.

browserCheck.js has functions that are needed for techqs.html.
Comment 3 Filip Palm 2006-10-28 08:04:53 UTC
Created attachment 75555 [details]
apemediaplayer.js from http://expressen.se/webb-tv/code/apemediaplayer.js.

apemediaplayer.js maybe has functions that are needed for techqs.html.
Comment 4 Bastien Nocera 2006-10-28 10:58:58 UTC
Looks like this is the culprit:

function hasQT () {
	for(var i=0; i<navigator.plugins.length; i++) {
		var name = navigator.plugins[i].name;
		if(name.indexOf("QuickTime") >= 0) {
			quickTimeVersion = parseFloat(name.substring(name.lastIndexOf(" "), name.length));
			hasQuickTime = (quickTimeVersion >= QTversion);
			if(hasQuickTime) {
				haveqt = true;
				break;
			}
		}
	}
	return haveqt;
}

Could you change the name of the narrowspace plugin from:
QuickTime Plug-in 7.0 (compatible; Totem)
to:
QuickTime Plug-in 7.0
and let me know whether it works?
Comment 5 Filip Palm 2006-10-28 11:14:48 UTC
Hi Bastien,
it worked so far that the page prints out that Quicktime 6+ is installed but i still get redirected.

But that may not be a Totem problem.
Comment 6 Filip Palm 2006-10-28 11:16:24 UTC
Created attachment 75563 [details] [review]
Patch for totemNarrowSpacePlugin.cpp to change "QuickTime Plug-in 7.0 (compatible; Totem)" to "QuickTime Plug-in 7.0"
Comment 7 Bastien Nocera 2006-10-28 11:21:25 UTC
Where do you get redirected? Does the plugin launch?
Comment 8 Filip Palm 2006-10-28 11:31:41 UTC
Sorry, didn't tell you about that page :)

URL: http://expressen.se/webb-tv/index.html?serialid=75991

Thats the first page i go to then i get redirected to techqs.html. 

The plugin has always started at index.html but i alway and still get redirected to techqs.html. It may be some fallback they have on index.html that "if no mediaplayer found force quicktime".
Comment 9 Christian Persch 2006-10-28 12:50:10 UTC
The site is broken since it checks for 'firefox' instead of gecko.

function hasMozilla () {
	return Boolean(info.indexOf("firefox") + 1 || (info.indexOf("mozilla/5.0") +1 && info.indexOf("rv:1.7") +1));
}

Please report the problem to the site and point them to http://www.geckoisgecko.org/ .
Comment 10 Filip Palm 2006-10-28 14:51:26 UTC
Thanks chpe,
I've e-mailed the authors with information about the problem.

Bastien,
Should this be open until they fixed the firefox issue and then i could try it again. Because here the browser-plugin wont work in firefox (another bug) so i can't try it with that.
Comment 11 Bastien Nocera 2006-10-28 14:58:11 UTC
Let's leave this opened and NEEDINFO until the website is fixed, we'll then see if there's still problems with the viewer.
Comment 12 Filip Palm 2006-12-17 15:46:06 UTC
I have not got any response from www.expressen.se so i don't think they are interested in fixing the problem. Close this?
Comment 13 Bastien Nocera 2006-12-18 23:36:38 UTC
You can leave this opened.
Comment 14 Bastien Nocera 2006-12-18 23:39:05 UTC
I changed this as well.

2006-12-18  Bastien Nocera  <hadess@hadess.net>

        * browser-plugin/tests/index.html: print the plugin list
        * browser-plugin/tests/launch-web-server.sh: add some code to log
        the user-agent used
        * browser-plugin/totemNarrowSpacePlugin.cpp: use QuickTime's real
        plug-in name, to avoid detection problems
Comment 15 Christian Persch 2006-12-19 00:37:29 UTC
With this change, and using flash 9 beta plugin, it still doesn't work: it shows the plugin briefly and then redirects to another page (techqs.html).

Someone needs to take a look at their JS (possibly in firefox JS debugger) and figure out which test we're failing.
Comment 16 Philip Withnall 2007-06-18 17:30:21 UTC
Marking patch as committed.
Comment 17 Bastien Nocera 2008-02-21 02:26:17 UTC
After setting my general.useragent.extra.simple config in about:config to:
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_2; en-au) AppleWebKit/525.8+ (KHTML, like Gecko) Version/3.1 Safari/525.6

(As listed on http://www.useragentstring.com/pages/Safari/)

I got all the boxes checked at:
http://expressen.se/webb-tv/techqs.html

But going to the web TV page still fails, because of our bad qt support, especially the Javascript one:

argv[6] qtnext1 javascript:videoEnd()
argv[7] qtnext2 GOTO1
** Message: SetHref 'javascript:videoClick()' has-extensions 0 (url: '' target: '')
** Message: Resolved HREF 'javascript:videoClick()'

Comment 18 Sven Arvidsson 2009-05-24 21:24:49 UTC
Doesn't expressen.se only use Flash Video for their content now?
Comment 19 Bastien Nocera 2014-04-30 11:22:05 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