Bug 52446 - [Gtk] A script which loads Flash player doesn't work on own3d.tv
Summary: [Gtk] A script which loads Flash player doesn't work on own3d.tv
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: 525.x (Safari 3.2)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL: http://www.own3d.tv/lvlup
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-14 06:33 PST by Witold Piłat
Modified: 2011-02-09 10:35 PST (History)
1 user (show)

See Also:


Attachments
Render in Chromium with JavaScript disabled (149.07 KB, image/png)
2011-01-15 11:05 PST, Martin Robinson
no flags Details
Render in Firefox with JavaScript disabled (240.25 KB, image/png)
2011-01-15 11:07 PST, Martin Robinson
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Witold Piłat 2011-01-14 06:33:27 PST
I've tested it with midori and uzbl. Instead of preview picture with "play" button I get only black field with small "by" in lower right corner.
The same happens on other browsers (opera, firefox) when I disable scripts on this site.
I wasn't sure about the "version" field, I have webkit-gtk 1.2.6 installed
Comment 1 Alexey Proskuryakov 2011-01-14 10:26:30 PST
Seems to work in Safari.

Why is this in Evangelism? It seems fine for a site to require JavaScript.
Comment 2 Witold Piłat 2011-01-14 16:01:44 PST
I was wondering where I should put it and finally forgot to make up my mind.

It seems that I was too quick to assume that it was something wrong with webkit. I've just checked it on other browsers and it happens only on midori and uzbl. I'll report it on appriopriate bugzilla then.
Comment 3 Martin Robinson 2011-01-15 10:01:45 PST
(In reply to comment #2)
> I was wondering where I should put it and finally forgot to make up my mind.
> 
> It seems that I was too quick to assume that it was something wrong with webkit. I've just checked it on other browsers and it happens only on midori and uzbl. I'll report it on appriopriate bugzilla then.

I just verified that that the behavior is the same in Epiphany (WebKitGTK+), Chromium and Firefox. Are you sure this is a WebKit specific issue or one with this site in particular?

By the way, if a bug appears in both uzbl and midori, this is definitely the place to report it. It just needs to be filed under the [GTK] tag, because they both use WebKitGTK+.
Comment 4 Witold Piłat 2011-01-15 10:27:17 PST
It is site specific. I've tested it with following browsers:

linux
uzbl (webkit) - broken
midori (webkit) - broken
firefox - ok
opera - ok

windows
midori (webkit) - broken
arora (webkit) - works
chrome (webkit) - works
firefox - works

This is a message I get in uzbl and midori when i click on black window where "play" button is supposed to be:

** Message: console message: http://www.own3d.tv/ @407: TypeError: Result of expression '$f()' [undefined] is not an object.

It isn't gtk specific, as it works in firefox for me.
Comment 5 Martin Robinson 2011-01-15 11:05:10 PST
(In reply to comment #4)

Sorry. I'm still having a little trouble figuring out what your issue is. Is it:

1. When you disable scripts you get just a black box with the word "by" in it and the video is totally non-functional.

or

2. You get a JavaScript error when you try to click the video.

If it's the first case, I also see this behavior on Chromium and Firefox in Linux. I've attached a screenshot of that. If it's the second case, do you have JavaScript enabled or disabled? With JavaScript enabled on Epiphany, everything works correctly for me. With JavaScript disabled, I get the same non-functional behavior as Chromium and Firefox.

> This is a message I get in uzbl and midori when i click on black window where "play" button is supposed to be:
> ** Message: console message: http://www.own3d.tv/ @407: TypeError: Result of expression '$f()' [undefined] is not an object.

I'm not sure why you'd be getting a JavaScript error if JavaScript is disabled.

> It isn't gtk specific, as it works in firefox for me.

While the Firefox rendering engine, Gecko, uses GTK+ on Linux it isn't the same thing as WebKitGTK+, which uzbl and midori use.
Comment 6 Martin Robinson 2011-01-15 11:05:36 PST
Created attachment 79065 [details]
Render in Chromium with JavaScript disabled
Comment 7 Martin Robinson 2011-01-15 11:07:17 PST
Created attachment 79066 [details]
Render in Firefox with JavaScript disabled
Comment 8 Witold Piłat 2011-01-15 11:34:30 PST
No, I do not disable javascript in uzbl and midori. Play button and preview image don't show up in these browsers, and when I click black field where they are supposed to be, I get mentioned error message.
The sentence in my original commit was about disabling java in opera and firefox.
Could you please try it on midori? Epiphany has a lot of dependencies which I don't have installed on my system.
Comment 9 Martin Robinson 2011-02-07 09:44:03 PST
(In reply to comment #8)
> No, I do not disable javascript in uzbl and midori. Play button and preview image don't show up in these browsers, and when I click black field where they are supposed to be, I get mentioned error message.
> The sentence in my original commit was about disabling java in opera and firefox.
> Could you please try it on midori? Epiphany has a lot of dependencies which I don't have installed on my system.

I have just built Midori against a recent version of WebKitGTK+ and I cannot reproduce this issue. I'll close this issue for now, but if you can reproduce this with a recent version of WebKitGTK+ please re-open and mention the version that has this issue. Feel free to ping me via email if you need help building a recent version on WebKitGTK+. Thanks for reporting!
Comment 10 Witold Piłat 2011-02-09 10:29:35 PST
It works for me on latest devel version.
Comment 11 Martin Robinson 2011-02-09 10:35:35 PST
(In reply to comment #10)
> It works for me on latest devel version.

Thank you for verifying!